8 years agoFix for commit r51049: no need to create two contexts when one if enough.
Bastien Montagne [Thu, 4 Oct 2012 18:53:17 +0000 (18:53 +0000)]
Fix for commit r51049: no need to create two contexts when one if enough.

Also please define and use constants in BLF_translation.h rather than directly typing contexts' names, it's safer (typo would break at compile time, instead of generating more contexts!).

8 years agoFix #32755: Stripes in Metastrip can not be moved on other channel with mouse (grab...
Sergey Sharybin [Thu, 4 Oct 2012 18:30:28 +0000 (18:30 +0000)]
Fix #32755: Stripes in Metastrip can not be moved on other channel with mouse (grab tool)

The issue was caused by SEQ_BEGIN macro modifying sequence's depth
which ruined transformation routines. Used own DFS instead which
doesn't modify sequences.

Also corrected some typos in api and comments.

8 years agoAdd translation context for volume (Audio), pitch (Rotation) and rename tip->tooltip...
Sv. Lockal [Thu, 4 Oct 2012 18:21:34 +0000 (18:21 +0000)]
Add translation context for volume (Audio), pitch (Rotation) and rename tip->tooltip for custom properties

Tracked in [#31062] [2.6x] Context Ambiguity List & Discussion (keep updating)

8 years agomake ED_view3d_project_int equivalent to ED_view3d_project_short functions.
Campbell Barton [Thu, 4 Oct 2012 17:52:12 +0000 (17:52 +0000)]
make ED_view3d_project_int equivalent to ED_view3d_project_short functions.

8 years agorefactor ED_view3d_project_short & ED_view3d_project_short_noclip,
Campbell Barton [Thu, 4 Oct 2012 16:46:15 +0000 (16:46 +0000)]
refactor ED_view3d_project_short & ED_view3d_project_short_noclip,

This is apart of a code cleanup to make  ED_view3d_project_short/ED_view3d_project_int/ED_view3d_project_float interchangeable. Currently they work very differently in a way thats quite confusing (and cause of bugs in blender that remain uncorrected) - fixes coming.

There are also cases where ED_view3d_project_short is used, then the values are converted from shorts into int's after because ED_view3d_project_int() behaves differently, will unify behavior of these functions after this commit.

- rather then clip/noclip versions, pass flags (for bound-box clip, window clip).
- rather then store the invalid clip-value, return success (or error value clip_near, clip_bb, clip_win, overflow).
- remove local copies of project functions from drawobject.c: view3d_project_short_clip, view3d_project_short_noclip, view3d_project_short_clip_persmat.

add functions:
- ED_view3d_project_short_global() global space projection
- ED_view3d_project_short_object() object space projection.
- ED_view3d_project_short_ex() take perspective matrix and local space option as args.
- ED_view3d_project_base() - special function to set the Object 'Base' screen coords (sx, sy), since this is a common enough operation.

8 years agoHave CPack rpm builder install the colorspace folder too
Dan Eicher [Thu, 4 Oct 2012 15:14:15 +0000 (15:14 +0000)]
Have CPack rpm builder install the colorspace folder too

8 years agoKind of cleanup of "menu strings": always have a space between the entry's label...
Bastien Montagne [Thu, 4 Oct 2012 13:59:14 +0000 (13:59 +0000)]
Kind of cleanup of "menu strings": always have a space between the entry's label and value (these strings are a nightmare to handle in RTL languages like arabic or persian, but a bit less of a nightmare this way ;) ).

8 years agoFix for rtl processing of menu strings...
Bastien Montagne [Thu, 4 Oct 2012 13:49:39 +0000 (13:49 +0000)]
Fix for rtl processing of menu strings...

8 years agoColor Management: fallback to stub ocio implementation in cases when
Sergey Sharybin [Thu, 4 Oct 2012 13:39:08 +0000 (13:39 +0000)]
Color Management: fallback to stub ocio implementation in cases when
ocio configuration file failed to load

This solves issues with infinite NULL-checks to prevent crashes in
such situations. Currently only happens if there's no configuration
file at all, but could be tweaked further to fallback if this file
isn't usable by blender.

8 years agostyle cleanup: comment blocks
Campbell Barton [Thu, 4 Oct 2012 13:26:15 +0000 (13:26 +0000)]
style cleanup: comment blocks

8 years agocode cleanup: comment verse outliner views, also correct warning in recent commit.
Campbell Barton [Thu, 4 Oct 2012 11:39:30 +0000 (11:39 +0000)]
code cleanup: comment verse outliner views, also correct warning in recent commit.

8 years agoOSX/cmake: fix warning: go back to initial state, not the right way to get rid of...
Jens Verwiebe [Thu, 4 Oct 2012 11:37:17 +0000 (11:37 +0000)]
OSX/cmake: fix warning: go back to initial state, not the right way to get rid of this

8 years agoOSX/cmake: fix warning: second try
Jens Verwiebe [Thu, 4 Oct 2012 11:26:02 +0000 (11:26 +0000)]
OSX/cmake: fix warning: second try

8 years agoBugfix [#32754] Clear Motion paths button not available on Motion paths panel
Joshua Leung [Thu, 4 Oct 2012 11:05:48 +0000 (11:05 +0000)]
Bugfix [#32754] Clear Motion paths button not available on Motion paths panel

On second thought, perhaps it is more convenient/natural if this was shown in
both places, given that many
people may only find the motion paths options through the UI now.

8 years agoAdded convenience operator to clear animation (i.e. all keyframes = F-Curves)
Joshua Leung [Thu, 4 Oct 2012 10:58:03 +0000 (10:58 +0000)]
Added convenience operator to clear animation (i.e. all keyframes = F-Curves)
from selected objects and bones

8 years agoOSX/cmake: fix warning: -Wuninitialized is not supported without -O, in debug-mode
Jens Verwiebe [Thu, 4 Oct 2012 10:48:17 +0000 (10:48 +0000)]
OSX/cmake: fix warning: -Wuninitialized is not supported without -O, in debug-mode

8 years agofix for using hsv uninitialized in ui_draw_but_HSVCIRCLE()
Campbell Barton [Thu, 4 Oct 2012 09:55:10 +0000 (09:55 +0000)]
fix for using hsv uninitialized in ui_draw_but_HSVCIRCLE()

8 years agocode cleanup: make the behavior of set_current_material_texture() clearer and remove...
Campbell Barton [Thu, 4 Oct 2012 09:43:27 +0000 (09:43 +0000)]
code cleanup: make the behavior of set_current_material_texture() clearer and remove redundant NULL check there. also small changes to ui_draw_but_HSVCIRCLE().

8 years agoavoid a sqrtf call in ui_hsvcircle_vals_from_pos() for values outside the circle.
Campbell Barton [Thu, 4 Oct 2012 09:33:14 +0000 (09:33 +0000)]
avoid a sqrtf call in ui_hsvcircle_vals_from_pos() for values outside the circle.

8 years agouse GCC's -Wpadded on DNA files, gives more useful warnings then makesdna.
Campbell Barton [Thu, 4 Oct 2012 09:20:58 +0000 (09:20 +0000)]
use GCC's -Wpadded on DNA files, gives more useful warnings then makesdna.

8 years agocode cleanup: remove USE_BMESH_FORWARD_COMPAT - this was added to load bmesh in pre...
Campbell Barton [Thu, 4 Oct 2012 09:12:08 +0000 (09:12 +0000)]
code cleanup: remove USE_BMESH_FORWARD_COMPAT - this was added to load bmesh in pre-bmesh blender version, remove MODSTACK_DEBUG, was never used.

8 years ago* Trunk is open again, BCon 1.
Thomas Dinges [Thu, 4 Oct 2012 08:56:37 +0000 (08:56 +0000)]
* Trunk is open again, BCon 1.

8 years agocolormanage_colorspace_get_named() can (and does) return NULL, added checks to preven...
Dan Eicher [Wed, 3 Oct 2012 21:52:36 +0000 (21:52 +0000)]
colormanage_colorspace_get_named() can (and does) return NULL, added checks to prevent null pointer dereference if the named color profile isn't found

8 years agoArtifacts on splash are resolved.
Sergey Sharybin [Wed, 3 Oct 2012 14:16:07 +0000 (14:16 +0000)]
Artifacts on splash are resolved.

8 years agoCorrection to commit rev48866 -- convert_tface_mt must happen before BKE_mesh_do_vers...
Sergey Sharybin [Wed, 3 Oct 2012 12:07:29 +0000 (12:07 +0000)]
Correction to commit rev48866 -- convert_tface_mt must happen before BKE_mesh_do_versions_convert_mfaces_to_mpolys

Discovered when were looking into crystal_cube.blend from our regression files
collection. Now it should look the same as in 2.62 release. 2.63 release wouldn't
work correct for this file because of wrong mtface->material conversion after
bmesh merge.

8 years ago* Fix for the elsyiun.xml theme, Reports in Info Header were not readable (grey on...
Thomas Dinges [Wed, 3 Oct 2012 09:37:36 +0000 (09:37 +0000)]
* Fix for the elsyiun.xml theme, Reports in Info Header were not readable (grey on grey). Patch by "ejnersan" in IRC.

8 years agoFix #32742: Motion path calculation on linked armatures locks up Blender
Sergey Sharybin [Wed, 3 Oct 2012 08:51:05 +0000 (08:51 +0000)]
Fix #32742: Motion path calculation on linked armatures locks up Blender

Issue was happening when linking armature object and making proxy and was
caused by not copying visualization settings in BKE_pose_copy_data.

This lead to deadlocks in motion path drawing code.

After discussion with Campbell decided it is crucial fix since it fixes
bug appearing in really common scenario of using armatures.

8 years agofix [#32743] Freed memory access when freeing materials.
Campbell Barton [Wed, 3 Oct 2012 07:35:29 +0000 (07:35 +0000)]
fix [#32743] Freed memory access when freeing materials.

8 years agofix [#32739] Glare node does "add" instead of "lighten"
Campbell Barton [Wed, 3 Oct 2012 07:33:04 +0000 (07:33 +0000)]
fix [#32739] Glare node does "add" instead of "lighten"

8 years agofix for cmake constructing an invalid include path.
Campbell Barton [Wed, 3 Oct 2012 05:49:22 +0000 (05:49 +0000)]
fix for cmake constructing an invalid include path.

8 years agoEntering Bcon5 stage!
Sergey Sharybin [Tue, 2 Oct 2012 16:39:37 +0000 (16:39 +0000)]
Entering Bcon5 stage!

- Bump version to 2.64
- No version char for this cycle
- This is finally release stage!

Splash would be commited in some hours from now.

Thanks everyone!

8 years agoAdded example of KX_GameObject subclassing to game engine docs.
Alex Fraser [Tue, 2 Oct 2012 14:15:02 +0000 (14:15 +0000)]
Added example of KX_GameObject subclassing to game engine docs.

8 years agofreeing node trees no longer decreases their user counts, this cause causing invalid...
Campbell Barton [Tue, 2 Oct 2012 13:59:05 +0000 (13:59 +0000)]
freeing node trees no longer decreases their user counts, this cause causing invalid memory access when freeing the blend file.

8 years agorevert fix for [#31555] Username with special chars in Windows 7
Campbell Barton [Tue, 2 Oct 2012 13:24:28 +0000 (13:24 +0000)]
revert fix for [#31555] Username with special chars in Windows 7

this breaks and causes bug: [#32720], where sys.stdout becomes invalid and print() does nothing.

On investigation - python is not getting the environment variable from blender (aparently because its a DLL?) so this should be resolved rather then overwriting sys.stdout.

8 years agocorrect spelling error in operator property
Campbell Barton [Tue, 2 Oct 2012 13:13:26 +0000 (13:13 +0000)]
correct spelling error in operator property

8 years ago * fix for regression test [compo_map_uv.blend]
Jeroen Bakker [Tue, 2 Oct 2012 11:37:15 +0000 (11:37 +0000)]
 * fix for regression test [compo_map_uv.blend]

the wrapping was resized to fit the uv map. this step was wrong and has
been deleted.

8 years ago * fix for regression file [compo_map_zcombine_cubes.blend]
Jeroen Bakker [Tue, 2 Oct 2012 10:03:16 +0000 (10:03 +0000)]
 * fix for regression file [compo_map_zcombine_cubes.blend]

the alpha mix formula was wrong. updated it.

Be aware that the regression file does not take the alpha into account,
but it should. or at least one z combine should and the other not.

this fails in 2.63a.
 - At Mind -

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