8 years agoUI:
Thomas Dinges [Tue, 2 Oct 2012 06:24:02 +0000 (06:24 +0000)]
* Fix RNA name for "turbulence_strength" property.

8 years agofix for crash in own recent masking commit with 'flood fill' operator.
Campbell Barton [Tue, 2 Oct 2012 05:12:49 +0000 (05:12 +0000)]
fix for crash in own recent masking commit with 'flood fill' operator.

8 years agofix for mesh_foreachScreenEdge__mapFunc running the callback with V3D_CLIP_TEST_RV3D_...
Campbell Barton [Tue, 2 Oct 2012 04:31:51 +0000 (04:31 +0000)]
fix for mesh_foreachScreenEdge__mapFunc running the callback with V3D_CLIP_TEST_RV3D_CLIPPING'd verts. (used uninitialised stack memory)

8 years agocorrect some include dirs not being included as SYSTEM paths in cmake.
Campbell Barton [Tue, 2 Oct 2012 03:18:48 +0000 (03:18 +0000)]
correct some include dirs not being included as SYSTEM paths in cmake.

8 years agofix for error in mask drawing, was using glVertex3fv on 2d verts. (buffer overrun)
Campbell Barton [Tue, 2 Oct 2012 01:10:18 +0000 (01:10 +0000)]
fix for error in mask drawing, was using glVertex3fv on 2d verts. (buffer overrun)

8 years agofix for crash loading durian file '08.5e_comp.blend' - external data pointer for...
Campbell Barton [Tue, 2 Oct 2012 00:54:41 +0000 (00:54 +0000)]
fix for crash loading durian file '08.5e_comp.blend' - external data pointer for face data was NULL.

8 years agofix: path looper was checking the path of old tessface external data rather then...
Campbell Barton [Tue, 2 Oct 2012 00:28:01 +0000 (00:28 +0000)]
fix: path looper was checking the path of old tessface external data rather then loop data. (missed with bmesh upgrade)

8 years agoFix #32712: non-multilayer openexr file save for a single channel image would
Brecht Van Lommel [Mon, 1 Oct 2012 20:21:50 +0000 (20:21 +0000)]
Fix #32712: non-multilayer openexr file save for a single channel image would
write wrong colors for float and crash for half-float.

8 years agoFix/workaround #31987: sample as lamp for environment textures not working
Brecht Van Lommel [Mon, 1 Oct 2012 18:31:32 +0000 (18:31 +0000)]
Fix/workaround #31987: sample as lamp for environment textures not working
with multi GPU when resolution > 128.

8 years agoFix [#32719] "New object align to view" option doesn't work on lamps and force fields
Bastien Montagne [Mon, 1 Oct 2012 17:40:02 +0000 (17:40 +0000)]
Fix [#32719] "New object align to view" option doesn't work on lamps and force fields

There was strange context changes in the Add menu... Now everything uses the EXEC_REGION_WIN one (no need to invoke here, and metaballs have a strange specific invoke func...). This fixes the problem when using Add menu from a 3D view. Obviously, it still doesn't work when used from Info window's header, but that can't be helped for now (and never worked for any kind of object).

Anyway, imho all this "add object" code could use some review/cleanup, both on py menu and C ops side, but this is obviously postponed to after 2.64!

8 years agoFix #32728: File Output node always save as RGBA, even when RGB is selected
Sergey Sharybin [Mon, 1 Oct 2012 17:38:22 +0000 (17:38 +0000)]
Fix #32728: File Output node always save as RGBA, even when RGB is selected

Seems to be a regression in new compositor system -- wrong number of planes
was using for image buffer allocation.

8 years agoFix #32725: cycles border render + panorama camera not working in viewport. It will
Brecht Van Lommel [Mon, 1 Oct 2012 17:09:12 +0000 (17:09 +0000)]
Fix #32725: cycles border render + panorama camera not working in viewport. It will
still look a bit strange since the viewport can't actually render such panorama views,
so the opengl drawn scene behind the border render will not match up.

8 years agoCMake: disable some warnings on mac that cause prints in nearly every file, and
Brecht Van Lommel [Mon, 1 Oct 2012 16:45:50 +0000 (16:45 +0000)]
CMake: disable some warnings on mac that cause prints in nearly every file, and
remove duplicate -Wundef entries.

8 years agofix for own bug in bmesh api, setting a byte string customdata layer assumed the...
Campbell Barton [Mon, 1 Oct 2012 15:39:29 +0000 (15:39 +0000)]
fix for own bug in bmesh api, setting a byte string customdata layer assumed the input data was 256 length, assigning smaller values would read past the buffer.

8 years agoquiet some warnings.
Campbell Barton [Mon, 1 Oct 2012 15:27:50 +0000 (15:27 +0000)]
quiet some warnings.

8 years agofix for unlikely crash if smoke collision data couldn't be read. (pointer was used...
Campbell Barton [Mon, 1 Oct 2012 15:26:48 +0000 (15:26 +0000)]
fix for unlikely crash if smoke collision data couldn't be read. (pointer was used before doing NULL check)

8 years agopossible fix for crashing when re-doing mouse select operator, there was a missing...
Campbell Barton [Mon, 1 Oct 2012 15:17:03 +0000 (15:17 +0000)]
possible fix for crashing when re-doing mouse select operator, there was a missing NULL check on space-image.

8 years agofix [#32716] continuous grab bevel inset faces
Campbell Barton [Mon, 1 Oct 2012 14:51:53 +0000 (14:51 +0000)]
fix [#32716] continuous grab bevel inset faces

8 years agorevert r50969, gives problems with weight paint + modifiers, need to investigate...
Campbell Barton [Mon, 1 Oct 2012 14:23:57 +0000 (14:23 +0000)]
revert r50969, gives problems with weight paint + modifiers, need to investigate further after release.

8 years agoFixed memory leak in CustomData_interp in cases when sources count is more than
Sergey Sharybin [Mon, 1 Oct 2012 14:15:05 +0000 (14:15 +0000)]
Fixed memory leak in CustomData_interp in cases when sources count is more than
SOURCE_BUF_SIZE and there's no more destination layers in main cycle of this function.

8 years agofix for crash found when attempting to setup testing environment to find crashes :)
Campbell Barton [Mon, 1 Oct 2012 14:14:21 +0000 (14:14 +0000)]
fix for crash found when attempting to setup testing environment to find crashes :)

scripts that have `Register` enabled and load another blend file would crash blender.

8 years agoOSX/cmake: simplificate compile conditions and silence lot of CLANG warnings
Jens Verwiebe [Mon, 1 Oct 2012 14:03:02 +0000 (14:03 +0000)]
OSX/cmake: simplificate compile conditions and silence lot of CLANG warnings

8 years agoFile Output Node:
Thomas Dinges [Mon, 1 Oct 2012 14:02:47 +0000 (14:02 +0000)]
File Output Node:
* Small cosmetic change, move up/down buttons next to the list, instead of beneath.
* Removed redundant "uiLayout" declarations.

8 years agoDisable render part of display transformation for icon/texture preview
Sergey Sharybin [Mon, 1 Oct 2012 12:41:20 +0000 (12:41 +0000)]
Disable render part of display transformation for icon/texture preview

This change mainly caused by too dark icon generated for texture brushes,
but also makes it a bit more straightforward from what's going on point of view.

8 years agoFix #32686: MovieClip background initialisaton error
Sergey Sharybin [Mon, 1 Oct 2012 11:26:52 +0000 (11:26 +0000)]
Fix #32686: MovieClip background initialisaton error

Undistorted rendering with original footage settings does not require proxies to be enabled.

8 years agoFix #32695: Can't disable color management for 3D view
Sergey Sharybin [Mon, 1 Oct 2012 11:14:02 +0000 (11:14 +0000)]
Fix #32695: Can't disable color management for 3D view

Made it so viewport will disable color management if display device set to None.

This solves couple of regressions, mainly related on old BGE files and made
None display behave exactly as old color management disabled.

8 years agoadd compiler hints that failing to create a bmesh face is unlikely.
Campbell Barton [Mon, 1 Oct 2012 11:12:49 +0000 (11:12 +0000)]
add compiler hints that failing to create a bmesh face is unlikely.

8 years agofix [#32713] Crash with modifiers + GLSL mode
Campbell Barton [Mon, 1 Oct 2012 11:05:09 +0000 (11:05 +0000)]
fix [#32713] Crash with modifiers + GLSL mode

crash caused by own commit r50969, the fix exposed a crash in an area of code that must have never been used before.

8 years agofix [#31654] Non-proportional edge slide behaving incorrectly.
Campbell Barton [Mon, 1 Oct 2012 10:43:52 +0000 (10:43 +0000)]
fix [#31654] Non-proportional edge slide behaving incorrectly.

8 years agofix for some errors when unlinking.
Campbell Barton [Mon, 1 Oct 2012 07:54:37 +0000 (07:54 +0000)]
fix for some errors when unlinking.
- movieclip unlink didn't clear node ID pointers from the scene (leaving dangling pointers).
- mask datablock unlink was clearning references from scene nodes twice.

8 years agoFix: gpu_colors_enable could cause 3d display corruption because it always enables...
Antony Riakiotakis [Mon, 1 Oct 2012 07:53:54 +0000 (07:53 +0000)]
Fix: gpu_colors_enable could cause 3d display corruption because it always enables glColorMaterial. Make sure to call gpu_colors_disable even if we don't have a mask layer, to match gpu_colors_enable above

8 years agofix [#32709] Color mix node produces artifacts from other frames
Campbell Barton [Mon, 1 Oct 2012 06:34:02 +0000 (06:34 +0000)]
fix [#32709] Color mix node produces artifacts from other frames

8 years agostyle cleanup: define float sizes for interpolation functions, add retirn's on newlin...
Campbell Barton [Mon, 1 Oct 2012 06:18:45 +0000 (06:18 +0000)]
style cleanup: define float sizes for interpolation functions, add retirn's on newlines (to better add breakpoints).

8 years agomask data is no longer automatically added when sculpting (except when there is a...
Campbell Barton [Mon, 1 Oct 2012 05:19:57 +0000 (05:19 +0000)]
mask data is no longer automatically added when sculpting (except when there is a multi-res modifier).

8 years agoDM_set_only_copy() wasn't setting only-copy flags for loops and polygons. (should...
Campbell Barton [Mon, 1 Oct 2012 04:59:21 +0000 (04:59 +0000)]
DM_set_only_copy() wasn't setting only-copy flags for loops and polygons. (should have been added during bmesh merge)

8 years agofix for leak when freeing mask data in editmode.
Campbell Barton [Mon, 1 Oct 2012 04:00:41 +0000 (04:00 +0000)]
fix for leak when freeing mask data in editmode.

8 years agofix for crash deleting higher multi-res levels without mask data.
Campbell Barton [Mon, 1 Oct 2012 03:45:31 +0000 (03:45 +0000)]
fix for crash deleting higher multi-res levels without mask data.

8 years agoupdate UI introspection script for changes to blender.
Campbell Barton [Mon, 1 Oct 2012 02:04:06 +0000 (02:04 +0000)]
update UI introspection script for changes to blender.

8 years agoupdated themes with active pose bone color.
Campbell Barton [Mon, 1 Oct 2012 01:26:54 +0000 (01:26 +0000)]
updated themes with active pose bone color.

8 years agoRevert changes made to support diffuse color when sculpting
Sergey Sharybin [Sun, 30 Sep 2012 15:04:46 +0000 (15:04 +0000)]
Revert changes made to support diffuse color when sculpting

This changes are not stable enough and trying fix it could backfire in some
other regressions which isn't wanted so much close to the release.

This means objects will have gray color as diffuse which becomes darker in
masked areas for 2.64.

Proper fix is aimed for 2.65.

This commit reverts 50827 and 50898.

8 years agofix for using uninitialized blur falloff for dilate/erode node.
Campbell Barton [Sun, 30 Sep 2012 12:24:29 +0000 (12:24 +0000)]
fix for using uninitialized blur falloff for dilate/erode node.

8 years agoFix #32706, Unnecesary refreshing of compositor.
Lukas Toenne [Sun, 30 Sep 2012 12:19:25 +0000 (12:19 +0000)]
Fix #32706, Unnecesary refreshing of compositor.
RNA doesn't need to do full update for label changes.

8 years agofix for double free.
Campbell Barton [Sun, 30 Sep 2012 11:15:40 +0000 (11:15 +0000)]
fix for double free.

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

8 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.

8 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.

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

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

8 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.

8 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

8 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

8 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.

8 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

8 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.

8 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.

8 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.

8 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

8 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.

8 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.

8 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.

8 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

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

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

8 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.

8 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

8 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.

8 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.

8 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

8 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.

8 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.

8 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.

8 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!

8 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.

8 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.

8 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.

8 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.

8 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

8 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.

8 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).

8 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.

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

8 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

8 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.

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

8 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

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

8 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

8 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

8 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

8 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()

8 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.

8 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

8 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)

8 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.

8 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)

8 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.

8 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.

8 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]

8 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.

8 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).