5 years agoBMesh Walker: typecheck args for walker->begin()
Campbell Barton [Fri, 23 May 2014 07:05:57 +0000 (17:05 +1000)]
BMesh Walker: typecheck args for walker->begin()

5 years agoAnother fix for T40230/T40290: Object tags were not properly initialized
Lukas Tönne [Fri, 23 May 2014 07:26:29 +0000 (09:26 +0200)]
Another fix for T40230/T40290: Object tags were not properly initialized
before entering the recursion check.

Now use group tags instead of object tags, which could be a little more
efficient and was used before this patch too.

5 years agoFix T40325: UILists do not save their height anymore
Bastien Montagne [Fri, 23 May 2014 06:55:31 +0000 (08:55 +0200)]
Fix T40325: UILists do not save their height anymore

5 years agoBake API: compare with NULL rather then casting to bool
Campbell Barton [Fri, 23 May 2014 04:54:12 +0000 (14:54 +1000)]
Bake API: compare with NULL rather then casting to bool

5 years agoTransfer shape keys wasn't checking for mesh types
Campbell Barton [Fri, 23 May 2014 01:39:22 +0000 (11:39 +1000)]
Transfer shape keys wasn't checking for mesh types

5 years agoBake-API: shows the baked image in the biggest SpaceImage around (just like Blender...
Dalai Felinto [Fri, 23 May 2014 01:17:21 +0000 (22:17 -0300)]
Bake-API: shows the baked image in the biggest SpaceImage around (just like Blender Internal)

Reviewers: campbellbarton

Differential Revision:

5 years agoCleanup
Campbell Barton [Fri, 23 May 2014 00:42:24 +0000 (10:42 +1000)]

5 years agoBake-API: relaxing in the check for scale uniformity
Dalai Felinto [Fri, 23 May 2014 00:35:41 +0000 (21:35 -0300)]
Bake-API: relaxing in the check for scale uniformity

It still warns the user that there may be an error, but the baking goes
on. Also using the new is_uniform_scaled_m4() instead of float comparison.

Reported and fix suggested by Campbell Barton as a concern over 2bfc3deb

5 years agofix T40323 Segfault on baking after rendering
Dalai Felinto [Thu, 22 May 2014 23:18:45 +0000 (20:18 -0300)]
fix T40323 Segfault on baking after rendering

The remaining functions in blender_python.cpp changed from using the
MACRO to use python_thread_state_save/python_thread_state_restore

Since this bug only happens when 'Persistent Images' is on it was
introduced in some of the early merges with master and I never caught

Thanks Daniel Salazar for helping with the bug hunting.

5 years agoCycles-Bake: fix T40322 Glitch in baking a mixed SSS shader
Dalai Felinto [Thu, 22 May 2014 22:46:18 +0000 (19:46 -0300)]
Cycles-Bake: fix T40322 Glitch in baking a mixed SSS shader

If we are using a mix node we still need to evaluate the BSDF lighting
even if scattering is successful.

Note: this was working for branched path (probably an oversight when
branched path support was introduced for baking, a good oversight though

5 years agoCycles-Bake: fix T40270 Combined Type fails to bake Emission node
Dalai Felinto [Thu, 22 May 2014 22:05:23 +0000 (19:05 -0300)]
Cycles-Bake: fix T40270 Combined Type fails to bake Emission node

Main code and review by Brecht Van Lommel

Differential Revision:

5 years agoBake-API: throws error if highpoly object(s) doesn't have uniform scale (fix T40156)
Dalai Felinto [Thu, 22 May 2014 16:38:51 +0000 (13:38 -0300)]
Bake-API: throws error if highpoly object(s) doesn't have uniform scale (fix T40156)

The real fix would be to support non-uniform scaled highpoly objects.
For more information see 8d29739

5 years agoBake-API: throws error if there is no UV
Dalai Felinto [Thu, 22 May 2014 16:36:00 +0000 (13:36 -0300)]
Bake-API: throws error if there is no UV

5 years agoBlender Internal: Fix texture influence panel not showing Displace/Warp sliders for...
IRIE Shinsuke [Thu, 22 May 2014 16:41:27 +0000 (01:41 +0900)]
Blender Internal: Fix texture influence panel not showing Displace/Warp sliders for volume materials.

5 years agoFix T40307: Crash with freestyle and particle hair.
Tamito Kajiyama [Thu, 22 May 2014 13:37:35 +0000 (22:37 +0900)]
Fix T40307: Crash with freestyle and particle hair.

The scene file provided by the problem report has many degenerate faces coming from
a particle system.  These zero-area faces were not expected in the ray-casting line visibility
algorithms of Freestyle.  Now degenerate faces are properly excluded from the imported
mesh data and not fed to the line visibility algorithms.

5 years agoFix T40290: False (or malfunctioning) dependency-cycle warning when adding dupligroup...
Lukas Tönne [Thu, 22 May 2014 13:46:35 +0000 (15:46 +0200)]
Fix T40290: False (or malfunctioning) dependency-cycle warning when adding dupligroup objects to another group.

The new recursion check for groups duplicating themselves has to un-set the LIB_DOIT flag after each object, otherwise it will prevent duplicating a (non-recursive) group multiple times.

5 years agoFix T39901: Crashes if the resolution % is changed while rendering an animation
Sergey Sharybin [Thu, 22 May 2014 12:39:31 +0000 (14:39 +0200)]
Fix T39901: Crashes if the resolution % is changed while rendering an animation

Copy render percentage. dimensions and border settings and use them for all the
frames in the animation render.

5 years agoCorrection to previous commit, sorry about that. :/
Bastien Montagne [Thu, 22 May 2014 12:03:32 +0000 (14:03 +0200)]
Correction to previous commit, sorry about that. :/

5 years agoPackedFiles: add (readonly for now) access to packed raw data (most useful for export...
Bastien Montagne [Thu, 22 May 2014 11:55:52 +0000 (13:55 +0200)]
PackedFiles: add (readonly for now) access to packed raw data (most useful for exporters).

5 years agoDon't write all uv textures, but only active uv layer.
Nathan Letwory [Thu, 22 May 2014 09:34:11 +0000 (12:34 +0300)]
Don't write all uv textures, but only active uv layer.

Fix T39922

5 years agoMistake naming in recent commit
Campbell Barton [Thu, 22 May 2014 07:40:35 +0000 (17:40 +1000)]
Mistake naming in recent commit

5 years agoFix T38493: ray_cast causes runtime error with no faces
Campbell Barton [Thu, 22 May 2014 07:10:21 +0000 (17:10 +1000)]
Fix T38493: ray_cast causes runtime error with no faces

5 years agoFreestyle: added missing forward declarations of referenced struct's.
Tamito Kajiyama [Thu, 22 May 2014 06:01:08 +0000 (15:01 +0900)]
Freestyle: added missing forward declarations of referenced struct's.

5 years agoFreestyle: Fix for versioning code not working properly with new texture options.
Tamito Kajiyama [Thu, 22 May 2014 06:00:38 +0000 (15:00 +0900)]
Freestyle: Fix for versioning code not working properly with new texture options.

To get the versioning code properly work, the condition should have been:

  DNA_struct_elem_find(fd->filesdna, "FreestyleLineStyle", "MTex", "*mtex[18]")

The present commit uses another new structure member instead, to avoid referring
to the magic number 18 in the last string literal.

5 years agoFix T40215: Boolean looses bevel width
Campbell Barton [Thu, 22 May 2014 06:43:38 +0000 (16:43 +1000)]
Fix T40215: Boolean looses bevel width

5 years agoFix T40309: Select inner region 'bigger' failed with equal regions
Campbell Barton [Thu, 22 May 2014 04:58:34 +0000 (14:58 +1000)]
Fix T40309: Select inner region 'bigger' failed with equal regions

5 years agoFor increased type safety, ANIM_animdata_filter() now specifies the enums its argumen...
Joshua Leung [Thu, 22 May 2014 03:46:51 +0000 (15:46 +1200)]
For increased type safety, ANIM_animdata_filter() now specifies the enums its arguments can use

Hopefully this should help prevent bugs lik T40304 from occurring again.

5 years agoCode cleanup - Reshuffling some defines
Joshua Leung [Thu, 22 May 2014 03:45:27 +0000 (15:45 +1200)]
Code cleanup - Reshuffling some defines

5 years agoPrevious commit uncovered another bug - Ungrouped FCurves couldn't be rearranged...
Joshua Leung [Thu, 22 May 2014 03:37:32 +0000 (15:37 +1200)]
Previous commit uncovered another bug - Ungrouped FCurves couldn't be rearranged still

This was because to the filtering code, those FCurves still weren't in any
groups, and so couldn't be visible (since a temporary group is created to
house them). As a result, the visible-channels list would be empty, causing
all hidden FCurves to be treated as hidden.

5 years agoFix T40304: Rearranging NLA Tracks (and actually, all animation channels) didn't...
Joshua Leung [Thu, 22 May 2014 03:25:54 +0000 (15:25 +1200)]
Fix T40304: Rearranging NLA Tracks (and actually, all animation channels) didn't work anymore

These were broken by 1f3655d224196129fc6daf20e678199b95321bff, since
an argument of the wrong type was getting passed to ANIM_animdata_filter(),
resulting in no channels ever being picked up for the "visible channels" list.

5 years agoBugfix T40292: Trying to rename shapekey datablocks from AnimEditors renamed object...
Joshua Leung [Thu, 22 May 2014 02:10:05 +0000 (14:10 +1200)]
Bugfix T40292: Trying to rename shapekey datablocks from AnimEditors renamed object instead

5 years agoFix for image garbage collection failing to run for render-only views
Campbell Barton [Thu, 22 May 2014 01:58:07 +0000 (11:58 +1000)]
Fix for image garbage collection failing to run for render-only views

Check for freeing old images was running per-object, move this to viewport drawing.

5 years agoFix T40283: Matcaps disables GLSL shadows
Campbell Barton [Thu, 22 May 2014 01:28:03 +0000 (11:28 +1000)]
Fix T40283: Matcaps disables GLSL shadows

5 years agoFix T40297: Crash while ripping an edge when autosmooth is activated.
Bastien Montagne [Wed, 21 May 2014 20:35:08 +0000 (22:35 +0200)]
Fix T40297: Crash while ripping an edge when autosmooth is activated.

Turned out there was still quite a few cases were indices were set dirty,
but elem_index_dirty was not tagged accordingly (mostly for BM_LOOP,
but a few others as well). So probably this crash was not the only one
hidden here.

Hopefully all possible cases were catched this time!

5 years agoBake API: partial fix T40156 (applyRotation issues)
Dalai Felinto [Wed, 21 May 2014 18:04:59 +0000 (15:04 -0300)]
Bake API: partial fix T40156 (applyRotation issues)

This fixes most of the cases, the only situation not addressed is when
the highpoly object(s) has non-uniform scale.

mul_transposed_mat3_m4_v3() should take care of non-uniform scales so
I'm a bit confused on why it doesn't work. The lowpoly object can have
any transformation, the only issue is if the highpoly object has
non-uniform scale.

Test file of the remaining issue:

Reference reading:

5 years agoFix T40299, Crash on rendering due to dependency cycles and NULL pointer when using...
Lukas Tönne [Wed, 21 May 2014 17:06:48 +0000 (19:06 +0200)]
Fix T40299, Crash on rendering due to dependency cycles and NULL pointer when using particle duplis.

5 years agoMinor cleanup of previous commit.
Antony Riakiotakis [Wed, 21 May 2014 16:52:50 +0000 (18:52 +0200)]
Minor cleanup of previous commit.

5 years agoFix T40222 texture painting on mirrored meshes does not apply pixel
Antony Riakiotakis [Wed, 21 May 2014 16:35:08 +0000 (18:35 +0200)]
Fix T40222 texture painting on mirrored meshes does not apply pixel
bleeding at the symmetry edges.

We need an extra way to detect if faces overlap here. An easy way is to
detect the winding of the faces in UV space. If the winding differs, the
faces will naturally overlap. I have tried a few approaches here such as
choosing an offset point from the middle of the edge for intersection in
both faces of the edge in uv space, but winding is the safest way and
should work with very small faces/dense meshes too.

5 years agoFreestyle: code cleanup: removed old commented lines of code in SilhouetteGeomEngine.
Tamito Kajiyama [Wed, 21 May 2014 02:57:25 +0000 (11:57 +0900)]
Freestyle: code cleanup: removed old commented lines of code in SilhouetteGeomEngine.

5 years agoFreestyle: code cleanup - removed very old commented lines of code.
Tamito Kajiyama [Mon, 19 May 2014 04:41:14 +0000 (13:41 +0900)]
Freestyle: code cleanup - removed very old commented lines of code.

5 years agoFix for a regression in rBe84732858590.
Tamito Kajiyama [Wed, 21 May 2014 15:31:00 +0000 (00:31 +0900)]
Fix for a regression in rBe84732858590.

5 years agoFreestyle: Fix for Z normalization in SilhouetteGeomEngine.
Tamito Kajiyama [Wed, 21 May 2014 02:49:31 +0000 (11:49 +0900)]
Freestyle: Fix for Z normalization in SilhouetteGeomEngine.

The Z component of the projected point in the 2D image space has already been normalized
in GeomUtils::fromWorldToImage().

5 years agoFreestyle: Added utility function SilhouetteGeomEngine::CameraToImage().
Tamito Kajiyama [Wed, 21 May 2014 02:38:14 +0000 (11:38 +0900)]
Freestyle: Added utility function SilhouetteGeomEngine::CameraToImage().

TODO: Fix for Z normalization in SilhouetteGeomEngine methods.

5 years agouse C style string formatting
Campbell Barton [Wed, 21 May 2014 15:12:00 +0000 (01:12 +1000)]
use C style string formatting

5 years agoFix T39711: cycles particle motion blur affected by viewport draw method.
Brecht Van Lommel [Wed, 21 May 2014 13:47:11 +0000 (15:47 +0200)]
Fix T39711: cycles particle motion blur affected by viewport draw method.

5 years agoFix T40271: recalculation of the bone roll does not work correctly.
Bastien Montagne [Wed, 21 May 2014 13:22:31 +0000 (15:22 +0200)]
Fix T40271: recalculation of the bone roll does not work correctly.

Check that up_axis is not aligned with bone was wrong in at least two aspects
(not working against negative alignement case, and since ages it seems,
using Z axis when bones are along Y axis...).

Also optimized a bit here, better to have a normalized version of vec_roll_to_mat3(),
since it needs normalized vector anyway, and we have to normalize it for the tests
before calling it anyway (so now, we only do that twice in Transform code, instead
of three times).

And we can perform aling test *before* calling vec_roll_to_mat3!

5 years agoFix T40291: Crash when adding # driver to some fields
Campbell Barton [Wed, 21 May 2014 06:33:48 +0000 (16:33 +1000)]
Fix T40291: Crash when adding # driver to some fields

5 years agoFix T40289: Cycles leaking memory
Campbell Barton [Wed, 21 May 2014 06:00:20 +0000 (16:00 +1000)]
Fix T40289: Cycles leaking memory

error in recent commit

5 years agoFix for uninitialized memory use in Cycles
Campbell Barton [Wed, 21 May 2014 05:37:18 +0000 (15:37 +1000)]
Fix for uninitialized memory use in Cycles

5 years agoFix T40267: Addon's bug tracker urls not respected
Campbell Barton [Wed, 21 May 2014 02:18:25 +0000 (12:18 +1000)]
Fix T40267: Addon's bug tracker urls not respected

5 years agoBGE LibNew: Only warn about meshes with users in debug builds.
Mitchell Stokes [Tue, 20 May 2014 22:04:25 +0000 (15:04 -0700)]
BGE LibNew: Only warn about meshes with users in debug builds.

This information only really seems to be for helping developers track
down bugs, and isn't really something the user needs. So, lets not spam
their console.

5 years agoFix T40280: sequencer sound strips with an end at a negative time kept playing
Jörg Müller [Tue, 20 May 2014 21:01:56 +0000 (23:01 +0200)]
Fix T40280: sequencer sound strips with an end at a negative time kept playing

The bug was caused by using negative numbers as the end for playing forever (or until the end of the sound is reached) in the library. This was used with speaker objects which have an end of FLT_MAX now instead and the negative number interpretation was removed. I hope this doesn't break anything else.

5 years agoFix T40269: Transform Constraint Doesn't Obey World/World Setting (Inherits from...
Bastien Montagne [Tue, 20 May 2014 13:21:33 +0000 (15:21 +0200)]
Fix T40269: Transform Constraint Doesn't Obey World/World Setting (Inherits from Parent instead!)

Revert small part of own rB8714ae09f894, which changed scale setting from absolute to relative
(was good in absolute, but bad because it breaks existing rigs).

5 years agoFix T40224: Crash moving objects to another layer
Campbell Barton [Tue, 20 May 2014 11:41:57 +0000 (21:41 +1000)]
Fix T40224: Crash moving objects to another layer

Incorrect nonnull attribute was optimizing out NULL check.

5 years agoThis reverts commit c998d6d4b5a3bd88375c3255761e1e64a5321559.
Campbell Barton [Tue, 20 May 2014 11:35:22 +0000 (21:35 +1000)]
This reverts commit c998d6d4b5a3bd88375c3255761e1e64a5321559.

5 years agoFix T40224: Crash moving objects to another layer
Campbell Barton [Tue, 20 May 2014 11:01:02 +0000 (21:01 +1000)]
Fix T40224: Crash moving objects to another layer

passing NULL to BLI_sprintfN crashed in some cases.

5 years agoUse int for i in hair smoothing function, we check against negative
Antony Riakiotakis [Mon, 19 May 2014 19:16:47 +0000 (22:16 +0300)]
Use int for i in hair smoothing function, we check against negative
values below

5 years agoPolyfill: simply re-ordering checks gives ~%15 speedup
Campbell Barton [Tue, 20 May 2014 07:15:12 +0000 (17:15 +1000)]
Polyfill: simply re-ordering checks gives ~%15 speedup

5 years agoFix T40271: Missing redraw for bone editing bone roll
Campbell Barton [Tue, 20 May 2014 06:18:53 +0000 (16:18 +1000)]
Fix T40271: Missing redraw for bone editing bone roll

We should have a new notifier for this

5 years agoFreestyle: Fix for returned references to auto variables.
Tamito Kajiyama [Tue, 20 May 2014 06:09:32 +0000 (15:09 +0900)]
Freestyle: Fix for returned references to auto variables.

5 years agoFreestyle: Fix for GetOccludeeF1D returning a one-element list containing None when...
Tamito Kajiyama [Mon, 19 May 2014 12:37:07 +0000 (21:37 +0900)]
Freestyle: Fix for GetOccludeeF1D returning a one-element list containing None when it is supposed to return an empty list.

5 years agoFix T34255: Modifier keys ignored when activating windows
Campbell Barton [Tue, 20 May 2014 04:19:18 +0000 (14:19 +1000)]
Fix T34255: Modifier keys ignored when activating windows

5 years agoBGE cleanup: Removing the unused KX_Scene::UpdateMeshTransformations() function.
Mitchell Stokes [Tue, 20 May 2014 04:13:33 +0000 (21:13 -0700)]
BGE cleanup: Removing the unused KX_Scene::UpdateMeshTransformations() function.

5 years agoFix T40252: Knife snapping ignores axis-constraint
Campbell Barton [Tue, 20 May 2014 03:51:22 +0000 (13:51 +1000)]
Fix T40252: Knife snapping ignores axis-constraint

5 years agobgl API docs: link to OpenGL 2.0 reference
Campbell Barton [Mon, 19 May 2014 23:49:30 +0000 (09:49 +1000)]
bgl API docs: link to OpenGL 2.0 reference

D538 by codemanx

5 years agoFix part of T35600: Outliner did not update when renaming armature bone names.
Bastien Montagne [Mon, 19 May 2014 20:37:35 +0000 (22:37 +0200)]
Fix part of T35600: Outliner did not update when renaming armature bone names.

5 years agoFix T40262: cycles GPU bake crash due to kernels not loaded, randomly due to thread...
Brecht Van Lommel [Mon, 19 May 2014 17:17:57 +0000 (19:17 +0200)]
Fix T40262: cycles GPU bake crash due to kernels not loaded, randomly due to thread timing.

5 years agoFix cycles standalone compile error of shading system enum change.
Brecht Van Lommel [Mon, 19 May 2014 17:17:40 +0000 (19:17 +0200)]
Fix cycles standalone compile error of shading system enum change.

5 years agoCycles: revert async CUDA changes, these are giving too much trouble still.
Brecht Van Lommel [Mon, 19 May 2014 14:39:25 +0000 (16:39 +0200)]
Cycles: revert async CUDA changes, these are giving too much trouble still.

Fixes T40027. This means we get more CPU usage again when using multiple CUDA,
but the impact on performance is too big a problem with the current code.

5 years agomake MSVC plaformsuffix check much stricter. For some reason MSVC_VERSION is set
Martijn Berger [Mon, 19 May 2014 17:21:25 +0000 (19:21 +0200)]
make MSVC plaformsuffix check much stricter. For some reason MSVC_VERSION is set

5 years agoFix T40240: Bug with render region with maya short cut
Sergey Sharybin [Mon, 19 May 2014 14:47:27 +0000 (16:47 +0200)]
Fix T40240: Bug with render region with maya short cut

5 years agoFix compilation error on kFreeBSD
Sebastian Ramacher [Sun, 18 May 2014 15:06:20 +0000 (17:06 +0200)]
Fix compilation error on kFreeBSD

5 years agoShow warning when hiding a proxy bone
Sergey Sharybin [Mon, 19 May 2014 14:25:06 +0000 (16:25 +0200)]
Show warning when hiding a proxy bone

It can't be undoe with Ctrl-Z, but Alt-H works just fine.
So instead of breaking someone's workflow let's just add
an info about how to bring bones back.

5 years agoFix T39764: cycles not rendering EXR image textures with 5 channels (RGBA + Z).
Brecht Van Lommel [Mon, 19 May 2014 14:23:37 +0000 (16:23 +0200)]
Fix T39764: cycles not rendering EXR image textures with 5 channels (RGBA + Z).

5 years agoStyle cleanup
Campbell Barton [Mon, 19 May 2014 14:11:16 +0000 (00:11 +1000)]
Style cleanup

5 years agoFix T40135: cycles baking did not support branched path settings yet.
Brecht Van Lommel [Mon, 19 May 2014 13:14:43 +0000 (15:14 +0200)]
Fix T40135: cycles baking did not support branched path settings yet.

5 years agoCode refactor: move branched path AO and SSS code into functions.
Brecht Van Lommel [Mon, 19 May 2014 13:07:40 +0000 (15:07 +0200)]
Code refactor: move branched path AO and SSS code into functions.

5 years agoCode refactor: rename kernel_displace.h to kernel_bake.h.
Brecht Van Lommel [Mon, 19 May 2014 12:57:55 +0000 (14:57 +0200)]
Code refactor: rename kernel_displace.h to kernel_bake.h.

5 years agoFix T40195: cycles smoke + persistent images animation render not working correct.
Brecht Van Lommel [Mon, 19 May 2014 12:45:52 +0000 (14:45 +0200)]
Fix T40195: cycles smoke + persistent images animation render not working correct.

5 years agoFix T40194: cycles deformation motion blur not working with curves + shape keys.
Brecht Van Lommel [Mon, 19 May 2014 12:23:56 +0000 (14:23 +0200)]
Fix T40194: cycles deformation motion blur not working with curves + shape keys.

5 years agoFix T40242: 3D view background images incorrectly shown during viewport render.
Brecht Van Lommel [Mon, 19 May 2014 12:18:02 +0000 (14:18 +0200)]
Fix T40242: 3D view background images incorrectly shown during viewport render.

Now they are shown when they are also visible in other draw modes.

5 years agoRemove two unnecessary includes.
Nathan Letwory [Mon, 19 May 2014 11:44:02 +0000 (14:44 +0300)]
Remove two unnecessary includes.

5 years agoMove ShadingSystem enum to shader.h
Nathan Letwory [Mon, 19 May 2014 10:49:36 +0000 (13:49 +0300)]
Move ShadingSystem enum to shader.h
Add SHADINGSYSTEM_ to enum member names, so it is clear where they
are from.

Revert BVHType enum changes, as there's no need for code dedup here.

5 years agoMove BVHType and shadingsystem enums to top-level of Cycles namespace.
Nathan Letwory [Fri, 16 May 2014 13:43:28 +0000 (16:43 +0300)]
Move BVHType and shadingsystem enums to top-level of Cycles namespace.

Easier access of BVHType and deduplication for ShadingSystem.

Reviewers: dingto, brecht

Differential Revision:

5 years agoThis reverts commit d1526da787fba050391747a9286f9e0521c6f2d1.
Campbell Barton [Mon, 19 May 2014 11:34:57 +0000 (21:34 +1000)]
This reverts commit d1526da787fba050391747a9286f9e0521c6f2d1.

If tweaking is done by accident, user better increase threshold in preferences.

5 years agoWorkaround T40241: Vertex snapping snaps to wrong place
Campbell Barton [Mon, 19 May 2014 09:25:59 +0000 (19:25 +1000)]
Workaround T40241: Vertex snapping snaps to wrong place

5 years agoCorrect ARRAY_SIZE macro and make doxy comments consistent
Campbell Barton [Mon, 19 May 2014 08:00:20 +0000 (18:00 +1000)]
Correct ARRAY_SIZE macro and make doxy comments consistent

5 years agoFix T39897: shape keys created while the Relative checkbox is unchecked start out...
Bastien Montagne [Sun, 18 May 2014 20:05:21 +0000 (22:05 +0200)]
Fix T39897: shape keys created while the Relative checkbox is unchecked start out with frame=0

So! First, frame for absolute shape keys: never allow a new key to have the same pos as an
existing one (this does not make sense). This way, the two workflows are possible (create
all keys and then animate ctime, or animate ctime and then create keys where you need them).

Also, fixed UIList for shapekeys, the "absolute" test was wrong, and better to show frame
value, even though not editable, than nothing in case of absolute keys.

And finally, add getter to RNA 'frame' readonly value, so that we output real frame values,
and not dummy internal ones (which are /100) in our API.

5 years agoFix T40251: Rename of Shape key is not redrawed in Dopesheep.
Bastien Montagne [Sun, 18 May 2014 18:30:48 +0000 (20:30 +0200)]
Fix T40251: Rename of Shape key is not redrawed in Dopesheep.

5 years agoFix T40201: Keyframe edits fail to update the viewport
Campbell Barton [Sun, 18 May 2014 14:24:45 +0000 (00:24 +1000)]
Fix T40201: Keyframe edits fail to update the viewport

5 years agoComment unused BLI_rebase_path
Campbell Barton [Sun, 18 May 2014 14:00:59 +0000 (00:00 +1000)]
Comment unused BLI_rebase_path

5 years agoAdd ARRAY_SIZE macro to check fixed size arrays
Campbell Barton [Sun, 18 May 2014 13:50:44 +0000 (23:50 +1000)]
Add ARRAY_SIZE macro to check fixed size arrays

5 years agoPromote MSVC 2013 to be the official platform (without a numbered suffix) for scons
Martijn Berger [Sun, 18 May 2014 13:36:46 +0000 (15:36 +0200)]
Promote MSVC 2013 to be the official platform (without a numbered suffix) for scons

5 years agoFix BLI_cleanup_path: '.' at the start of a path
Campbell Barton [Sun, 18 May 2014 08:58:22 +0000 (18:58 +1000)]
Fix BLI_cleanup_path: '.' at the start of a path

On windows "." was replaced with the root directory.
On other systems any path starting with a '.' would be replaced with "/"

This was added for the file selector only,
so better handle this in the file selector (though it looks not to be needed).

5 years agoFix T40246: Speaker Object is missing from Tabs > 'Create' tab in the Toolbar.
Bastien Montagne [Sun, 18 May 2014 07:55:47 +0000 (09:55 +0200)]
Fix T40246: Speaker Object is missing from Tabs > 'Create' tab in the Toolbar.

5 years agoUpdate netbeans projectfile generator to v8
Campbell Barton [Sun, 18 May 2014 05:55:00 +0000 (15:55 +1000)]
Update netbeans projectfile generator to v8

5 years agoFix T40230: Recursion check when adding objects to groups is incorrect.
Lukas Tönne [Sat, 17 May 2014 16:28:30 +0000 (18:28 +0200)]
Fix T40230: Recursion check when adding objects to groups is incorrect.

rB568f0c7 added a recursion check that is supposed to prevent cyclic
cases where a group includes itself via dupli instancing.

The check function was descending into all groups nested inside the
target group - which works for single level recursion like in the test
case, but does not handle generic recursion. Basically it asked:
"is object X in the group already or in any instanced dupligroup?"

The new check instead asks:
"is group G dupli'd by X or any instanced subgroup thereof?"
which is what we really need to know.

5 years agoFix T40236: Undo not pushed in old-school node curve tool button functions.
Lukas Tönne [Sat, 17 May 2014 14:48:06 +0000 (16:48 +0200)]
Fix T40236: Undo not pushed in old-school node curve tool button functions.

5 years agoFix T39757: missing cuda libary on linx, now also try to find
Brecht Van Lommel [Sat, 17 May 2014 13:31:47 +0000 (15:31 +0200)]
Fix T39757: missing cuda libary on linx, now also try to find

I'm not sure this should be needed, but some particular systems don't have so we do this now.

5 years agoFix T39757: missing cuda libary on linx, now also try to find
Brecht Van Lommel [Sat, 17 May 2014 13:14:20 +0000 (15:14 +0200)]
Fix T39757: missing cuda libary on linx, now also try to find

I'm not sure this should be needed, but some particular systems don't have so we do this now.