Blender Git Commits

Blender Git "master" branch commits.

Page: 2039 / 5574

July 28, 2017, 19:44 (GMT)
WM: OP_IS_INVOKE was being incorrectly set

Calling an operator with EXEC_* context would still set the invoke flag.
July 28, 2017, 16:35 (GMT)
Fix T52213: Enum drivers no longer work

Regression in D1812: PyDriver variables as Objects

Taking the Python representation is nice in general
but for enums it would convert them into strings,
breaking some existing drivers.
July 28, 2017, 15:46 (GMT)
Merge branch 'master' into blender2.8
July 28, 2017, 15:33 (GMT)
Resolve T45301 by adding option for old behavior

Some users really liked previous behavior,
so making it an option.

Cursor Lock Adjustment can be disabled to give something close to
2.4x behavior of cursor locking.

When lock-adjustment is disabled placing the cursor the view.
This avoids the issue reported in T40353
where the cursor could get *lost*.
July 28, 2017, 15:28 (GMT)
Cleanup: clear deprecated UI flags

Also adds cursor-lock flag, to be used in next commit.
Revision 9b22dbc by Luca Rood
July 28, 2017, 13:30 (GMT)
Fix T52156: Hair dynamics broken with density texture

Even strands that were excluded by the density texture were being added
to the DM passed to cloth, but these ended up having some invalid data,
because they were not fully constructed.

This simply excludes `UNEXISTED` particles from the DM generation, as
would be expected.
July 28, 2017, 11:02 (GMT)
Fix crash when duplicating object

This fixes null pointer check fiasco.
Revision 05f3778 by Bastien Montagne
July 28, 2017, 10:43 (GMT)
Fix T52148: Point Density Texture ID User decrement error related to the Object field.

Note that fix is not perfect, systematically make refcounting of all IDs
assigned to node's id pointer, which breaks the 'do not refcount
scene/object/text datablocks' principle...

But besides that principle being far from ideal in general, it becomes
pretty much impossible to apply when using //generic// ID pointer,
unless we add some kind of type data to that pointer somehow.

So for now, better to live with that, than having broken usercount.
July 28, 2017, 10:27 (GMT)
Depsgraph: Re-use evaluated mesh across frames and remove time dependency from all CoW components

This commit is a work forward having less updates during playback, which speeds
things up a lot here. The idea is simple: stop update all copy-on-write
datablocks (which implies full re-evaluation actually) on frame change and
re-use existing evaluated meshes as much as possible.

This brings playback speed to 24 fps on the dino test scene here. Performance
drops down a lot when armature is animated tho, but that's because of need of
tangent space calculation which we can't do much about from just a dependency
graph.

Hopefully this doesn't make copy-on-write too unstable, quick tests here are
surviving fine.
July 28, 2017, 09:55 (GMT)
Fix T52212: Vgroups doesn't work after Carve Boolean
July 28, 2017, 08:56 (GMT)
Fix potential 'divide-by-zero' in our UI fitting code.

Reported by coverity, better fix even if highly unlikely to happen...
July 28, 2017, 08:38 (GMT)
Fix T52208: Using UI_BUT_REDALERT flag for UI_BTYPE_KEY_EVENT buttons crashes Blender.

but pointer was not assigned in that case...
July 27, 2017, 20:04 (GMT)
Cleanup: Remove gitignore for api images
July 27, 2017, 14:29 (GMT)
Prevent crash when duplicating object which doesn't have evaluated base properties yet

This mainly happens when copy on write is enabled.
July 27, 2017, 14:28 (GMT)
Copy on write: Prevent crash when duplicating object with particle system

Transform system was using global main, which might have been pointing to a
freed scene layer.
July 27, 2017, 13:20 (GMT)
Fix UI messages...
July 27, 2017, 13:19 (GMT)
Depsgraph: Attempt to keep evaluated mesh when possible

Currently wouldn't make any difference, but required for upcoming work of
getting rid of time dependency for copy-on-write component.
July 27, 2017, 13:19 (GMT)
Depsgraph: Cleanup, variable name
July 27, 2017, 13:19 (GMT)
Depsgraph: Cleanup, use some utility functions to shorten construction code

Still some cleanup is possible.
July 27, 2017, 13:19 (GMT)
Depsgraph: Create ID nodes on build-time expansion using node builder

This will allow us to do some builder-specific trickery when ID nodes are
requested to be created from build-time expansion.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021