9 years agoMerged changes in the trunk up to revision 50956.
Tamito Kajiyama [Sun, 30 Sep 2012 13:16:55 +0000 (13:16 +0000)]
Merged changes in the trunk up to revision 50956.

Conflicts resolved:

9 years agomissed these last commit
Campbell Barton [Sun, 30 Sep 2012 10:45:37 +0000 (10:45 +0000)]
missed these last commit

9 years agofix for crash drawing the clip view with a blend file that has lock to selected,...
Campbell Barton [Sun, 30 Sep 2012 10:39:00 +0000 (10:39 +0000)]
fix for crash drawing the clip view with a blend file that has lock to selected, but no clip in the view.

9 years agodemote library linking errors from ERROR's to warnings, since errors will throw a...
Campbell Barton [Sun, 30 Sep 2012 10:38:12 +0000 (10:38 +0000)]
demote library linking errors from ERROR's to warnings, since errors will throw a python exception and stop the script when loading a blend file by calling a python operator.

9 years agostyle cleanup
Campbell Barton [Sun, 30 Sep 2012 06:12:47 +0000 (06:12 +0000)]
style cleanup

9 years agoFunny typo, variable blue!
Daniel Salazar [Sun, 30 Sep 2012 05:29:27 +0000 (05:29 +0000)]
Funny typo, variable blue!

9 years agoCycles UI Tweak:
Thomas Dinges [Sat, 29 Sep 2012 23:45:35 +0000 (23:45 +0000)]
Cycles UI Tweak:
* Don't disable Progressive option, just grey out.

9 years agocorrect addon example, it used both __doc__ and bl_description
Campbell Barton [Sat, 29 Sep 2012 11:51:18 +0000 (11:51 +0000)]
correct addon example, it used both __doc__ and bl_description

9 years agoDupli layer visibility name can be clearer
Daniel Salazar [Sat, 29 Sep 2012 04:07:50 +0000 (04:07 +0000)]
Dupli layer visibility name can be clearer

9 years ago- transform's createTransCurveVerts was using both CTX_data_edit_object(C) and t...
Campbell Barton [Fri, 28 Sep 2012 14:51:33 +0000 (14:51 +0000)]
- transform's createTransCurveVerts was using both CTX_data_edit_object(C) and t->obedit, now only use t->obedit.
- freeing bez-triple handle data was being done in a loop for many types which don't support bezier handle data.

9 years agofix [#32684] Shrink/Fatten tool has odd behavior
Campbell Barton [Fri, 28 Sep 2012 14:31:07 +0000 (14:31 +0000)]
fix [#32684] Shrink/Fatten tool has odd behavior

9 years agoFix #32072: cycles shadow pass gave different results with/without emitting
Brecht Van Lommel [Fri, 28 Sep 2012 13:41:34 +0000 (13:41 +0000)]
Fix #32072: cycles shadow pass gave different results with/without emitting
materials present, even though it's only taking lamp shadows into account.

9 years agoFix cycles "synchronizing object" status being shown when it was already finished.
Brecht Van Lommel [Fri, 28 Sep 2012 12:37:20 +0000 (12:37 +0000)]
Fix cycles "synchronizing object" status being shown when it was already finished.

9 years agoFix #32671: new orbit sensitivity and turntable/trackball choice was only available
Brecht Van Lommel [Fri, 28 Sep 2012 12:37:14 +0000 (12:37 +0000)]
Fix #32671: new orbit sensitivity and turntable/trackball choice was only available
from special NDOF menu, added them in user preferences as well now. Also made it do
proper version patch for conversion from old user preferences, and changed turntable
choice from a boolean to enum for consistency.

9 years agoMade View2D drag zoom behave in the same way as zoom in 3d viewport
Sergey Sharybin [Fri, 28 Sep 2012 12:01:21 +0000 (12:01 +0000)]
Made View2D drag zoom behave in the same way as zoom in 3d viewport

Initially issue was caused by opposite MMB-Drag zoom direction in nodes editor.

Made it so MMB-Drag in negative axis direction (down for Y axis and left for
X axis) would zoom in, moving in opposite direction will zoom out.

This could kind of break muscule memory, but after discussion with Campbell
decided it's not so big a problem -- seems users weren't related on direction
of zoom in and just waved mouse around until zoom is correct. And now muscule
memory should even be a bit better -- drag zoom is unified between different

9 years agoFix #32673: long strings were wrongly clipped when modifying
Sergey Sharybin [Fri, 28 Sep 2012 11:28:23 +0000 (11:28 +0000)]
Fix #32673: long strings were wrongly clipped when modifying

It was a regression in svn revision 50676 -- button's string width
should be calculated taking button offset into account.

However, check for button offset should check string width without
offset taken into account.

9 years agofix/workaround [#31811] Subdivision Surface (Apply modifier to editing cage during...
Campbell Barton [Fri, 28 Sep 2012 11:02:43 +0000 (11:02 +0000)]
fix/workaround [#31811] Subdivision Surface (Apply modifier to editing cage during Editmode) Loop Cut Crash

A correct fix for this bug likely involves changuing how operators are called in the event loop but such changes better not be made just before the release.

9 years agoadd warning that RNA update callbacks dont have checks for infinite recursion.
Campbell Barton [Fri, 28 Sep 2012 09:35:32 +0000 (09:35 +0000)]
add warning that RNA update callbacks dont have checks for infinite recursion.

9 years agofix [#31476] DopeSheet GreasePencil Mode Window won't scroll up
Campbell Barton [Fri, 28 Sep 2012 09:12:02 +0000 (09:12 +0000)]
fix [#31476] DopeSheet GreasePencil Mode Window won't scroll up

9 years agocorrect own typo from r43404
Campbell Barton [Fri, 28 Sep 2012 09:00:42 +0000 (09:00 +0000)]
correct own typo from r43404

9 years agocode cleanup: correct spelling
Campbell Barton [Fri, 28 Sep 2012 06:45:20 +0000 (06:45 +0000)]
code cleanup: correct spelling

9 years agofix for header not updating with an error report when a job finishes.
Campbell Barton [Fri, 28 Sep 2012 04:00:06 +0000 (04:00 +0000)]
fix for header not updating with an error report when a job finishes.
was reported as a reply to [#32537], but is a different issue then the original report.

9 years agofix [#32678] Changing RGB Curve via 'X' or 'Y' coordinates does not update
Campbell Barton [Fri, 28 Sep 2012 01:47:45 +0000 (01:47 +0000)]
fix [#32678] Changing RGB Curve via 'X' or 'Y' coordinates does not update

9 years agofix/workaround [#32679] Save a Copy during F12 Cycles Render produces black image
Campbell Barton [Fri, 28 Sep 2012 01:16:26 +0000 (01:16 +0000)]
fix/workaround [#32679] Save a Copy during F12 Cycles Render produces black image

image-save now poll's for rendering while saving an image, this can't easily work in a reliable way (buffers are being written to), so disable and set the poll fail message so the tooltip explains why this tools disabled.

9 years agoFix #32618: cycles multithreaded image loading could crash with CUDA, was a
Brecht Van Lommel [Thu, 27 Sep 2012 17:42:09 +0000 (17:42 +0000)]
Fix #32618: cycles multithreaded image loading could crash with CUDA, was a
threading issue that happens once every X frames.

9 years agoFix compilation issue on MinGW, thanks to Sergey for the fix
Antony Riakiotakis [Thu, 27 Sep 2012 15:49:15 +0000 (15:49 +0000)]
Fix compilation issue on MinGW, thanks to Sergey for the fix

9 years agoFix #32658: left mouse button selection did not work well in the graph and mask
Brecht Van Lommel [Thu, 27 Sep 2012 15:30:20 +0000 (15:30 +0000)]
Fix #32658: left mouse button selection did not work well in the graph and mask
editors. Ctrl+Click to add a point and vertex slide now work with right mouse
button in this case, consistent with the 3D view.

9 years agoFix #32670: lamps in lamp groups did not respect renderability option.
Brecht Van Lommel [Thu, 27 Sep 2012 15:30:13 +0000 (15:30 +0000)]
Fix #32670: lamps in lamp groups did not respect renderability option.

9 years agoFix #32669: Markers are not disabled properly if started from any other than first...
Sergey Sharybin [Thu, 27 Sep 2012 14:47:23 +0000 (14:47 +0000)]
Fix #32669: Markers are not disabled properly if started from any other than first frame.

Was own mistake in code refactoring from a while ago.

9 years agoFix/enhancement of "locale to po file name" code. Now should handle nicely locales...
Bastien Montagne [Thu, 27 Sep 2012 14:38:20 +0000 (14:38 +0000)]
Fix/enhancement of "locale to po file name" code. Now should handle nicely locales like "gez_ER@abegede", and never read uilng string beyond its end!

9 years agoFix #32667: Curve softbodies doesn't render animation (cycles)
Sergey Sharybin [Thu, 27 Sep 2012 14:37:20 +0000 (14:37 +0000)]
Fix #32667: Curve softbodies doesn't render animation (cycles)

Issue was caused by cycles being duplicated curve objects before converting
them to mesh. This duplication will loose pointcache which resulted in object
not being properly deformed.

9 years agoColor Management: move "Color Unpremultiply" option to Color Management panel
Brecht Van Lommel [Thu, 27 Sep 2012 12:44:52 +0000 (12:44 +0000)]
Color Management: move "Color Unpremultiply" option to Color Management panel
from the Shading panel, since it's about color space conversion for renders.

9 years agofix [#32616] Changing parent does not keep transformation
Campbell Barton [Thu, 27 Sep 2012 12:24:38 +0000 (12:24 +0000)]
fix [#32616] Changing parent does not keep transformation

add an option to apply the transform of an object when re-parenting.

the reason for this is you dont always want to apply transform because...
- your object may be driven/animated and the transformation will be lost.
- with negative scales and rotation it can end up giving odd/not-useful results.

9 years agofix for adding triangle-fan filled circle not tagging the center vertex.
Campbell Barton [Thu, 27 Sep 2012 03:32:13 +0000 (03:32 +0000)]
fix for adding triangle-fan filled circle not tagging the center vertex.

9 years agofix [#32672] Crash when rendering environment map
Campbell Barton [Thu, 27 Sep 2012 02:56:46 +0000 (02:56 +0000)]
fix [#32672] Crash when rendering environment map
own regression since 2.63

9 years agowm_event_do_handlers was calling sound_sync_scene() twice without error checking...
Campbell Barton [Thu, 27 Sep 2012 02:18:14 +0000 (02:18 +0000)]
wm_event_do_handlers was calling sound_sync_scene() twice without error checking the result of the second call.

9 years agodon't draw the object center circle when in sculpt mode (all other paint modes have...
Campbell Barton [Wed, 26 Sep 2012 22:39:10 +0000 (22:39 +0000)]
don't draw the object center circle when in sculpt mode (all other paint modes have it disabled).

9 years agominor change for sculpt undo, was getting the derived-mesh before calling sculpt_upda...
Campbell Barton [Wed, 26 Sep 2012 22:09:56 +0000 (22:09 +0000)]
minor change for sculpt undo, was getting the derived-mesh before calling sculpt_update_mesh_elements().
also add NULL check for BKE_key_from_object(), to avoid unlikely but possible NULL pointer dereference.

9 years agopep8 cleanup
Campbell Barton [Wed, 26 Sep 2012 21:19:51 +0000 (21:19 +0000)]
pep8 cleanup

9 years agostyle cleanup: also correct incorrect doxy heading
Campbell Barton [Wed, 26 Sep 2012 20:26:31 +0000 (20:26 +0000)]
style cleanup: also correct incorrect doxy heading

9 years agocorrect debug/test assignment being left in the UI_view2d_smooth_view() so it always...
Campbell Barton [Wed, 26 Sep 2012 20:14:30 +0000 (20:14 +0000)]
correct debug/test assignment being left in the UI_view2d_smooth_view() so it always recalculated.

9 years agoincorrect spelling in comments
Campbell Barton [Wed, 26 Sep 2012 20:05:38 +0000 (20:05 +0000)]
incorrect spelling in comments

9 years agofix for cycles/python script error in normal panel
Campbell Barton [Wed, 26 Sep 2012 19:23:06 +0000 (19:23 +0000)]
fix for cycles/python script error in normal panel

9 years agoFixed typo in previous commit!
Sergey Sharybin [Wed, 26 Sep 2012 13:22:30 +0000 (13:22 +0000)]
Fixed typo in previous commit!

9 years agoColor Management: restore abort() in cases of error and WITH_ASSERT_ABORT enabled
Sergey Sharybin [Wed, 26 Sep 2012 13:21:10 +0000 (13:21 +0000)]
Color Management: restore abort() in cases of error and WITH_ASSERT_ABORT enabled

9 years agoColor Management: resolve warnings when OCIO configuration file misses None display
Sergey Sharybin [Wed, 26 Sep 2012 13:17:47 +0000 (13:17 +0000)]
Color Management: resolve warnings when OCIO configuration file misses None display

9 years agoRemove unneeded null-check: display settings should always be valid after IMB_colorma...
Sergey Sharybin [Wed, 26 Sep 2012 12:30:46 +0000 (12:30 +0000)]
Remove unneeded null-check: display settings should always be valid after IMB_colormanagement_check_file_config

9 years agofix for eternal loop in recursive_operation()
Campbell Barton [Wed, 26 Sep 2012 12:22:50 +0000 (12:22 +0000)]
fix for eternal loop in recursive_operation()

9 years agoFix #32666: Memory Cache Limit stops working after set to 2048
Sergey Sharybin [Wed, 26 Sep 2012 11:16:27 +0000 (11:16 +0000)]
Fix #32666: Memory Cache Limit stops working after set to 2048

Solved two issues here:

- RNA update function for cache limiter wasn't type-casting to size_t
  type, which lead to long int overflow.

- Display buffer size in color management wasn't calculated properly,
  ended up with much more extra memory usage than it's needed.

9 years agofix [#32665] Inconsistent Circle Mesh Edge Subdivision
Campbell Barton [Wed, 26 Sep 2012 11:14:40 +0000 (11:14 +0000)]
fix [#32665] Inconsistent Circle Mesh Edge Subdivision

9 years agoFix #32091: Crop and offset coordinates changes proxy render settings on image strips
Sergey Sharybin [Wed, 26 Sep 2012 10:39:36 +0000 (10:39 +0000)]
Fix #32091: Crop and offset coordinates changes proxy render settings on image strips

Made offset and crop working in final resolution space, meaning that visual result
would be the same when using different proxy resolution in sequencer preview and
different resolution percentage when rendering.

It could break some files designed to with render percentage not equal to 100%
using wrong image crop and offset values. But this would also make it easier to
setup scene and render it with different percentage (useful for preview renders
for example)

9 years agoCorrection to svn rev50845
Sergey Sharybin [Wed, 26 Sep 2012 10:39:32 +0000 (10:39 +0000)]
Correction to svn rev50845

Disable color picker button only if color block is invoked from another popup.

Only in this case color picking will fail. Valid RNA path isn't required for
this, only RNA pointer in button is needed.

This solves issue with missing color picking in user preferences.

9 years agoBugfix:
Joshua Leung [Wed, 26 Sep 2012 09:27:47 +0000 (09:27 +0000)]

Timeline didn't update after deleting keyframes using Alt-I in the 3D View (i.e.
after ANIM_OT_keyframe_delete_v3d)

9 years agoFix #32663: Sculpt masks are too dark
Sergey Sharybin [Wed, 26 Sep 2012 07:55:52 +0000 (07:55 +0000)]
Fix #32663: Sculpt masks are too dark

Scaled mask multiplier to 0.25..1.0 instead of 0.0..1.0.

9 years agofix [#32661] Grease Pencil in Camera View
Campbell Barton [Wed, 26 Sep 2012 07:37:12 +0000 (07:37 +0000)]
fix [#32661] Grease Pencil in Camera View

Regression since 2.63a release.

own fault in r49996, though code was confusing - using rcti struct for offset+width.

9 years agofix for very bad bug with python list slicing which - in bmesh and bpy api for all...
Campbell Barton [Tue, 25 Sep 2012 23:41:32 +0000 (23:41 +0000)]
fix for very bad bug with python list slicing which - in bmesh and bpy api for all? 2.5x + releases.

negative stop values when slicing was broken. eg.[0:-2] != list([0:-2]

9 years agoadd back game engine python api slicing, (was missing / regression, since move to...
Campbell Barton [Tue, 25 Sep 2012 23:28:15 +0000 (23:28 +0000)]
add back game engine python api slicing, (was missing / regression, since move to py3x)

not many people must have used it since it would crash with non-zero start slice values.

9 years agoremove redundant NULL checks in somepledeform modifier (dcut is never NULL).
Campbell Barton [Tue, 25 Sep 2012 22:05:40 +0000 (22:05 +0000)]
remove redundant NULL checks in somepledeform modifier (dcut is never NULL).

9 years agofix osx/ols compile after #50876
Jens Verwiebe [Tue, 25 Sep 2012 18:30:37 +0000 (18:30 +0000)]
fix osx/ols compile after #50876

9 years agoUnification of names for the BOOST library directory in Windows 32 and win64
Alexander Pinzon [Tue, 25 Sep 2012 15:27:11 +0000 (15:27 +0000)]
Unification of names for the BOOST library directory in Windows 32 and win64

9 years agoFix for last color management commit, wrongly assumed aces_to_rec709.spimtx was in...
Brecht Van Lommel [Tue, 25 Sep 2012 15:24:06 +0000 (15:24 +0000)]
Fix for last color management commit, wrongly assumed aces_to_rec709.spimtx was in svn.

9 years agoBoost directories were not properly configured to vc2010.
Alexander Pinzon [Tue, 25 Sep 2012 15:11:34 +0000 (15:11 +0000)]
Boost directories were not properly configured to vc2010.
Opencolorio directories and openimageio not work as you would expect macro

9 years agoFixed crash when selecting curve with a mouse
Sergey Sharybin [Tue, 25 Sep 2012 13:31:46 +0000 (13:31 +0000)]
Fixed crash when selecting curve with a mouse

Was a missed check for DRAW_CONSTCOLOR flag.

9 years agoCompositor:
Jeroen Bakker [Tue, 25 Sep 2012 13:02:52 +0000 (13:02 +0000)]
*  Node muting in node groups didn't work.

[#32597] Mute one node in a group blocks it

It looked for connections in the main tree, and not inside the group.

9 years agoColor management: change reference space from Linear ACES to Linear. This will
Brecht Van Lommel [Tue, 25 Sep 2012 12:43:50 +0000 (12:43 +0000)]
Color management: change reference space from Linear ACES to Linear. This will
have no effect on the end result, because it is only an intermediate space and
scene_linear was already set to Linear. It does avoid some unnecessary matrix
transforms which should be a bit faster, and it makes it more clear what's

9 years agoBugfix [#32647] PolyLine tool for Grease Pencil was broken
Joshua Leung [Tue, 25 Sep 2012 12:10:27 +0000 (12:10 +0000)]
Bugfix [#32647] PolyLine tool for Grease Pencil was broken

This was broken in r.46589, although it doesn't seem that these changes have any
relevance to the main fix being performed there.

The problem was that the offending changes made the Grease Pencil modal handler
exit when an RMB event occurs meant that the operator was exiting after the
initial click, meaning that it was only possible to draw single dots at a time
when using the hotkey version of PolyLine. The toolbox version however was

I've noted this specific problem in the code as a warning.

9 years agocode cleanup: make naming more consistent
Sergey Sharybin [Tue, 25 Sep 2012 10:21:51 +0000 (10:21 +0000)]
code cleanup: make naming more consistent

9 years agoColor Management: mark some TODOs as resolved
Sergey Sharybin [Tue, 25 Sep 2012 10:18:58 +0000 (10:18 +0000)]
Color Management: mark some TODOs as resolved

9 years agoExpose image's and clip's input color space settings to properties panel in compositor,
Sergey Sharybin [Tue, 25 Sep 2012 10:14:07 +0000 (10:14 +0000)]
Expose image's and clip's input color space settings to properties panel in compositor,
so now input color space could be changed directly from the compositor.

The only unfinished thing is missed compositor update when color space is
changing. Not sure about correct fix for this yet.

9 years agoRemove access to deprecated per-strip color balance in RNA.
Sergey Sharybin [Tue, 25 Sep 2012 09:40:04 +0000 (09:40 +0000)]
Remove access to deprecated per-strip color balance in RNA.

9 years agoColor Management: render result could have been incorrectly changed by file saving...
Sergey Sharybin [Tue, 25 Sep 2012 09:34:19 +0000 (09:34 +0000)]
Color Management: render result could have been incorrectly changed by file saving routines

9 years agoColor Management: wrong register was used for color space for None display
Sergey Sharybin [Tue, 25 Sep 2012 09:03:11 +0000 (09:03 +0000)]
Color Management: wrong register was used for color space for None display

9 years agoColor Management: float generated images had is_data flag set incorrect
Sergey Sharybin [Tue, 25 Sep 2012 08:42:24 +0000 (08:42 +0000)]
Color Management: float generated images had is_data flag set incorrect

9 years agoNo need to show display settings in file output node
Sergey Sharybin [Tue, 25 Sep 2012 08:02:05 +0000 (08:02 +0000)]
No need to show display settings in file output node

9 years agoUse ${OPENEXR_INCLUDE_DIR} instead of ${OPENEXR}/include
Sergey Sharybin [Tue, 25 Sep 2012 07:34:45 +0000 (07:34 +0000)]
Use ${OPENEXR_INCLUDE_DIR} instead of ${OPENEXR}/include

There's no CMake symbol names ${OPENEXR} which lead to using /include
as an include directory, which isn't correct.

9 years agoFix own error (wrong portuguese-brazilian Windows "long_locale" - yuck!), and some...
Bastien Montagne [Tue, 25 Sep 2012 06:11:32 +0000 (06:11 +0000)]
Fix own error (wrong portuguese-brazilian Windows "long_locale" - yuck!), and some minor, non-code edits.

9 years agofix for gibberish text in 2DFilter actuator when text unlinked through the Text Editor
Dalai Felinto [Tue, 25 Sep 2012 05:48:33 +0000 (05:48 +0000)]
fix for gibberish text in 2DFilter actuator when text unlinked through the Text Editor
(reported nowhere, I found this while testing osl custom node)

9 years agofix [#31703] modules/ BoolVectorProperty and CollectionProperty
Campbell Barton [Tue, 25 Sep 2012 05:17:23 +0000 (05:17 +0000)]
fix [#31703] modules/ BoolVectorProperty and CollectionProperty

patch provided by reporter (n floyd)

9 years agofix for error disabling group visibility (which was flushed down to obects),
Campbell Barton [Tue, 25 Sep 2012 04:15:09 +0000 (04:15 +0000)]
fix for error disabling group visibility (which was flushed down to obects),
    - objects were being selected rather then de-selected.
    - object restrict selection wasnt de-selecting either (as it does when changing the object in the outliner directly).

9 years agodefault simple deforms `Relative` option to be enabled, IMHO this shouldn't be an...
Campbell Barton [Tue, 25 Sep 2012 03:00:33 +0000 (03:00 +0000)]
default simple deforms `Relative` option to be enabled, IMHO this shouldn't be an option (objects should always work relative to eachother). At least defaulting to ON gives users more predictable behavior (Transforming both objects together keeps them the same relative to eachother).

9 years agofix for regression in solidify modifier copying loop customdata to rim faces (UV...
Campbell Barton [Tue, 25 Sep 2012 01:21:21 +0000 (01:21 +0000)]
fix for regression in solidify modifier copying loop customdata to rim faces (UV's and vertex colors).

Own fault when fixing rim face flipping r46924

9 years agosmall improvement to previous commit, use pre-calculated ngon normal to avoid calcula...
Campbell Barton [Tue, 25 Sep 2012 00:25:17 +0000 (00:25 +0000)]
small improvement to previous commit, use pre-calculated ngon normal to avoid calculating twice when dupli-scale is enabled.

9 years agofix [#32646] Duplifaces can have wrong orientation with ngons
Campbell Barton [Tue, 25 Sep 2012 00:20:42 +0000 (00:20 +0000)]
fix [#32646] Duplifaces can have wrong orientation with ngons

concave ngons could flip the dupliface, now use the faces normal when calculating the dupli-face.

9 years agorename RNA duration --> frame_duration to match sequence strip.
Campbell Barton [Mon, 24 Sep 2012 22:41:10 +0000 (22:41 +0000)]
rename RNA duration --> frame_duration to match sequence strip.

9 years agocode cleanup: add missing includes to RNA (this one is safe!)
Campbell Barton [Mon, 24 Sep 2012 22:39:45 +0000 (22:39 +0000)]
code cleanup: add missing includes to RNA (this one is safe!)

9 years agofix cmake in case the boostlibs don't contain boost_python3 refactor ( was possibly...
Jens Verwiebe [Mon, 24 Sep 2012 20:37:18 +0000 (20:37 +0000)]
fix cmake in case the boostlibs don't contain boost_python3 refactor ( was possibly not correct)

9 years agofix cmake in case the boostlibs don't contain boost_python3 yet
Jens Verwiebe [Mon, 24 Sep 2012 19:53:33 +0000 (19:53 +0000)]
fix cmake in case the boostlibs don't contain boost_python3 yet

9 years agoOSX/osl: add install of shader headers needed for osl_nodes compile
Jens Verwiebe [Mon, 24 Sep 2012 19:25:32 +0000 (19:25 +0000)]
OSX/osl: add install of shader headers needed for osl_nodes compile

9 years agoOSL/cmake: the non-intrusive parts, so other os-maintainers can take code over
Jens Verwiebe [Mon, 24 Sep 2012 19:06:28 +0000 (19:06 +0000)]
OSL/cmake: the non-intrusive parts, so other os-maintainers can take code over

9 years agoSome further fixes for #32626: TIFF renders are limited to 8 bit even when we choose 16.
Sergey Sharybin [Mon, 24 Sep 2012 18:22:33 +0000 (18:22 +0000)]
Some further fixes for #32626: TIFF renders are limited to 8 bit even when we choose 16.

File type was checking for wrong flags, now it should be checked against
actual file format flags which would be used on save.

We also can not free float buffer if file format doesn't have IM_FTYPE_FLOAT
flag -- i.e. TIFF doesn't have such flag and it decides whether float or
byte buffer should be used based on image depth.

9 years agoUpdate startup.blend to store proper default theme
Sergey Sharybin [Mon, 24 Sep 2012 17:57:14 +0000 (17:57 +0000)]
Update startup.blend to store proper default theme

(there were several differences on color theme stored in startup.blend
and colors after restoring them by Reset to Default Theme button).

Should be no other changes.

9 years agoThemes fixes:
Sergey Sharybin [Mon, 24 Sep 2012 17:57:09 +0000 (17:57 +0000)]
Themes fixes:

- Added initialization of frame node color to default theme loading
  Used default color from 2.63a theme, should be pretty fine as default.

- Added some missing versioning checks which lead to differences between
  startup.blend and default theme restored.

9 years ago- Corrected movie clip length computation
Sergey Sharybin [Mon, 24 Sep 2012 15:27:04 +0000 (15:27 +0000)]
- Corrected movie clip length computation
- Ignore clip's offset for movie clip sequencer strip

9 years agoSequencer: movie clip float buffers should be converted to internal sequencer space
Sergey Sharybin [Mon, 24 Sep 2012 15:26:59 +0000 (15:26 +0000)]
Sequencer: movie clip float buffers should be converted to internal sequencer space

9 years agoExpose movie clip duration property to RNA
Sergey Sharybin [Mon, 24 Sep 2012 15:26:54 +0000 (15:26 +0000)]
Expose movie clip duration property to RNA

9 years agoFix crash on sequencer when movie clip fails to load frame
Sergey Sharybin [Mon, 24 Sep 2012 14:48:24 +0000 (14:48 +0000)]
Fix crash on sequencer when movie clip fails to load frame

9 years agoFix image editor switching to no image when deselecting all faces for UV editing,
Brecht Van Lommel [Mon, 24 Sep 2012 14:36:25 +0000 (14:36 +0000)]
Fix image editor switching to no image when deselecting all faces for UV editing,
it should just keep the last image in that case.

9 years agoFix #32638: mesh double sided normals option not available in any Cycles panel.
Brecht Van Lommel [Mon, 24 Sep 2012 14:36:20 +0000 (14:36 +0000)]
Fix #32638: mesh double sided normals option not available in any Cycles panel.

9 years agoFix #32644: ctrl+F11 internal animation player crash
Sergey Sharybin [Mon, 24 Sep 2012 13:48:37 +0000 (13:48 +0000)]
Fix #32644: ctrl+F11 internal animation player crash

Crash was caused by missed color management initialization -- it was
happening too late.

Move it to generic ImBuf init/exit functions, so now color management
is properly initializing when animation player is launched.

9 years agoFix #32396: EyeDropper does nothing on "New" in Uv image editor
Sergey Sharybin [Mon, 24 Sep 2012 13:02:08 +0000 (13:02 +0000)]
Fix #32396: EyeDropper does nothing on "New" in Uv image editor

For now simply hide color picker button for properties which doesn't
have RNA path. Trying to make color picker working would end up with
design limitations like not bale to run two operators the same time.

Used RNA_property_path_from_ID_check for check which is marked as
slow and need to be used with care. Since this function is only called
from a popup, shouldn't be a big problem.