8 years agoBooleans: epsilon for planar checks seems a bit too small for single precision math
Sergey Sharybin [Fri, 5 Oct 2012 07:31:30 +0000 (07:31 +0000)]
Booleans: epsilon for planar checks seems a bit too small for single precision math

This could solve issue #32748: Boolean Modifiers Making unneeded edges?

8 years agoFix #32707: texture preview not loaded
Sergey Sharybin [Fri, 5 Oct 2012 07:17:45 +0000 (07:17 +0000)]
Fix #32707: texture preview not loaded

8 years agoSome effect-less code cleanup...
Bastien Montagne [Fri, 5 Oct 2012 07:05:52 +0000 (07:05 +0000)]
Some effect-less code cleanup...

8 years agoBugfix [#32760] Crash on entering pose mode if motion paths have no baked points
Joshua Leung [Fri, 5 Oct 2012 06:40:21 +0000 (06:40 +0000)]
Bugfix [#32760] Crash on entering pose mode if motion paths have no baked points

Dunno how a file with this situation arose, but we now perform some more sanity checking to abort in this sticky situation.

8 years agofixes/minor improvements to circle select in armature and pose mode.
Campbell Barton [Fri, 5 Oct 2012 05:59:15 +0000 (05:59 +0000)]
fixes/minor improvements to circle select in armature and pose mode.

- pose mode now checks if circle select intersects the bone if neither head/tail are reached (as with editmode)
- checking if the mouse intersects with the bone now checks that neither projection failed.
- use ED_view3d_project_int_object rather then the global version.

8 years agofix for circle select ignoring lock selection option for pose and edit modes, added...
Campbell Barton [Fri, 5 Oct 2012 05:27:51 +0000 (05:27 +0000)]
fix for circle select ignoring lock selection option for pose and edit modes, added macros PBONE_SELECTABLE, EBONE_SELECTABLE

8 years agoreplace ED_view3d_project_short_* with ED_view3d_project_int_*, when the result was...
Campbell Barton [Fri, 5 Oct 2012 05:11:10 +0000 (05:11 +0000)]
replace ED_view3d_project_short_* with ED_view3d_project_int_*, when the result was converted to an int after.
also optimization for particle editmode key_test_depth() was projecting the screen coords, but all callers had already done this, so pass an arg.

8 years agoknife tool: avoid sqrt's for length comparison, and define KNIFE_FLT_EPS rather than...
Campbell Barton [Fri, 5 Oct 2012 04:43:46 +0000 (04:43 +0000)]
knife tool: avoid sqrt's for length comparison, and define KNIFE_FLT_EPS rather than using (FLT_EPSILON * 80).

8 years agofix for bug in loop select, picking the active vert/edge/face was using global space...
Campbell Barton [Fri, 5 Oct 2012 04:18:52 +0000 (04:18 +0000)]
fix for bug in loop select, picking the active vert/edge/face was using global space checks on object space coordinates. this removes last use of ED_view3d_project_float_noclip().

8 years agoreplace most uses of ED_view3d_project_float_noclip() with ED_view3d_project_float_gl...
Campbell Barton [Fri, 5 Oct 2012 03:57:56 +0000 (03:57 +0000)]
replace most uses of ED_view3d_project_float_noclip() with ED_view3d_project_float_global/object

8 years agoreplace ED_view3d_project_float with ED_view3d_project_float_global
Campbell Barton [Fri, 5 Oct 2012 03:20:14 +0000 (03:20 +0000)]
replace ED_view3d_project_float with ED_view3d_project_float_global

8 years agoImprovements for knife tool execute function (code was a bit sloppy & could leak...
Campbell Barton [Fri, 5 Oct 2012 03:06:01 +0000 (03:06 +0000)]
Improvements for knife tool execute function (code was a bit sloppy & could leak memory).

- vertex to screenspace projections were not checking for failure to project (vertex behind the view for eg).
- vertex screenspace 2d vectors were each malloc'd and added to own ghash, then fetched for each edge.
  now just store a vertex aligned array and do index lookups.
- projections were done in global space, now do them in object space (avoids a matrix multiply).
- error cases were commented out and would fail silently, now report them to the operator.
- remove MAX_CUTS hard coded limit, dynamically allocate the mouse path.
- add missing free calls in error cases.

8 years agocode cleanup: quiet warnings and use define for transform snap max distance.
Campbell Barton [Fri, 5 Oct 2012 01:34:47 +0000 (01:34 +0000)]
code cleanup: quiet warnings and use define for transform snap max distance.

8 years agoadd ED_view3d_project_float_global, ED_view3d_project_float_object, ED_view3d_project...
Campbell Barton [Fri, 5 Oct 2012 01:27:28 +0000 (01:27 +0000)]
add ED_view3d_project_float_global, ED_view3d_project_float_object, ED_view3d_project_float_ex function calls and cleanup cursor3d set function which had some odd logic.

8 years ago* Fix Scons build when OCIO is disabled.
Thomas Dinges [Thu, 4 Oct 2012 23:44:03 +0000 (23:44 +0000)]
* Fix Scons build when OCIO is disabled.
Still fails when it's enabled though (unresolved symbols).

8 years agoCycles: add "From Dupli" option for texture coordinate node. This gets the
Brecht Van Lommel [Thu, 4 Oct 2012 21:40:39 +0000 (21:40 +0000)]
Cycles: add "From Dupli" option for texture coordinate node. This gets the
Generated and UV coordinates from the duplicator of instance instead of the
object itself.

This was used in e.g. Big Buck Bunny for texturing instanced feathers with
a UV map on the bird. Many files changed, mainly to do some refactoring to
get rid of G.rendering global in duplilist code.

8 years agoMesh Deform Modifier: binding is now accelerated with a BVH tree, can make it
Brecht Van Lommel [Thu, 4 Oct 2012 21:40:10 +0000 (21:40 +0000)]
Mesh Deform Modifier: binding is now accelerated with a BVH tree, can make it
much faster for complex meshes. Patch by Joe Eager.

8 years agoQuick fix for [#32764] Some new object types are added at the origin instead of the...
Bastien Montagne [Thu, 4 Oct 2012 20:59:47 +0000 (20:59 +0000)]
Quick fix for [#32764] Some new object types are added at the origin instead of the 3D cursor

Own fault (r50994). Those "add object" ops really need a cleanup to make them more consistent! Will try to see this tomorrow.

8 years agoFix #32763: Image flickering appears if Movie Clip Editor and compositor opened
Sergey Sharybin [Thu, 4 Oct 2012 20:31:08 +0000 (20:31 +0000)]
Fix #32763: Image flickering appears if Movie Clip Editor and compositor opened

The issue was caused by compositor was allocating float buffer for image and
then this buffer was filled with data converted from byte buffer.

If display happens at time between float was allocated and it was filled black
areas were appearing on the screen.

Made it so IMB_float_from_rect locks color management thread so display
transform wouldn't use uninitialized buffer anymore.

8 years agoFix #31806: cycles crash rendering a particular node setup with multiple mix/add
Brecht Van Lommel [Thu, 4 Oct 2012 20:12:16 +0000 (20:12 +0000)]
Fix #31806: cycles crash rendering a particular node setup with multiple mix/add
shader nodes.

8 years agoUI: buttons that open menus now align to the menu rather than looking disconnected.
Brecht Van Lommel [Thu, 4 Oct 2012 20:12:05 +0000 (20:12 +0000)]
UI: buttons that open menus now align to the menu rather than looking disconnected.
Also fixed some cases where the menu was offset 1 or 2 pixels wrong, though not
quite all of them, still off by 1 pixel sometimes.

8 years agoCode cleanup: fix some clang checker warnings.
Brecht Van Lommel [Thu, 4 Oct 2012 20:11:54 +0000 (20:11 +0000)]
Code cleanup: fix some clang checker warnings.

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.