Blender Git Commits

Blender Git "master" branch commits.

Page: 1347 / 5574

January 31, 2019, 13:31 (GMT)
Depsgraph: Comb code to a better state all over

Some summary of changes:

- Don't use DEG prefix for types and enumerator values:
the code is already inside DEG namespace.

- Put code where it locally belongs to: avoid having one
single header file with all sort of definitions in it.

- Take advantage of modern C++11 enabled by default.
January 31, 2019, 13:22 (GMT)
Add C++ guards to some blenlib headers
January 31, 2019, 12:00 (GMT)
Fix T61030: Drivers for shape keys not evaluated in correct order

Was happening when value of one shape key was driving property of
another shape key of same datablock.

Solved by making shape key blocks properties more granular.
January 31, 2019, 12:00 (GMT)
Depsgraph: Specify whether RNA path to be resolved as entry or exit

Makes it more explicit whether RNA property is used as a source
dependency for something else, or whether some other dependency
is being hooked up to evaluate that property.
January 31, 2019, 12:00 (GMT)
Cleanup: Spelling in comment
January 31, 2019, 12:00 (GMT)
Depsgraph: Use more correct update source for an internal tags

Dependency graph will poke some IDs for recalc after finishing building.
Those shouldn't be considered as a user edit.
January 31, 2019, 12:00 (GMT)
Depsgraph: Use more clear name for enumerator

Matches enumerator items and type name.
January 31, 2019, 11:58 (GMT)
Fix T61032: Switching to sculpt tab causes undo to set object mode

Workspace switching changed modes w/o the 3D view,
causing sculpt undo's poll function to fail.

Applied the same logic for texture paint too.
January 31, 2019, 11:42 (GMT)
Fix T60996: Dyntopo flood fill fails due to missing ob->imat

Reviewers: brecht

Differential Revision: https://developer.blender.org/D4285
January 31, 2019, 11:19 (GMT)
Fix: allow curve of driver to be evaluated individually

This is necessary when adding a new keyframe to a fcurve
that also has a driver.

Reviewers: brecht, campbellbarton

Differential Revision: https://developer.blender.org/D4278
January 31, 2019, 11:04 (GMT)
Fix T59495, T59992, T59904, T59178, T60598: broken keyframed value editing.

This removes a bunch of animation/driver evaluations and recalc flags that
should be redundant in the new depsgraph, and were incorrectly affecting
the evaluated scene in a permanent way.

Still two cases that could be removed if the depsgraph is improved, in
BKE_object_handle_data_update and BKE_cachefile_update_frame.

For physics subframe interpolation there are also still calls to
BKE_object_where_is_calc that should ideally be removed as well, though
they are not known to cause keyframing bugs.

Differential Revision: https://developer.blender.org/D4274
January 31, 2019, 11:03 (GMT)
Depsgraph: remove features incompatible with new system.

Some features are incompatible with multithreading and reliable evaluation
of dependencies. We are now removing them as part of a bigger cleanup to
fix bugs in keyframing and invalid animation evaluations.

* Dupliframes have been removed. This was a hack added before there were
more powerful features like the array modifier.
* Slow parent has been removed, never worked in 2.8. It was always
unreliable for use in production due to depending on whatever frame was
previously evaluated, which was not always the previous frame.
* Particle instanced objects used to have their transform evaluated at
the particle time. Now it always gets the current time transform.
* Boids can no longer do predictive avoidance of force field objects,
but still for other particles.

Differential Revision: https://developer.blender.org/D4274
January 31, 2019, 10:03 (GMT)
Fix T60432: Blender crashes when dragging objects from other scene from outliner.
January 31, 2019, 07:51 (GMT)
Sculpt: disable undo flag for sculpt mask lasso

While this is harmless, it did cause T55399 in the past.

Sculpt adds it's own undo steps, so don't request the operator type
to do it too.

This is consistent with other sculpt operators.
January 31, 2019, 06:27 (GMT)
Fix T59293: Can't assign shortcut to undo history
January 31, 2019, 05:35 (GMT)
Cleanup: use doxy comments, clarify some text
January 31, 2019, 05:06 (GMT)
Fix edit-mesh undo using the current selection

Any meshes selected would be added to the mode when reading undo.
January 31, 2019, 04:54 (GMT)
Cleanup: style, unused variable
January 31, 2019, 04:36 (GMT)
Cleanup: remove EM_IGNORE_LAYER

Call ED_object_editmode_enter_ex instead.
January 31, 2019, 04:05 (GMT)
Fix T61047: Undo editmesh separate crashes

Favour G_MAIN in functions that might free it.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021