Blender Git Commit Log

All Blender Git commits.

Page: 2310 / 8462

July 31, 2019, 16:31 (GMT)
Fix: test object_modifier_array is passing when it shouldn't.

From D5253.
July 31, 2019, 16:28 (GMT)
remove last remainings of GraphInserters
July 31, 2019, 16:21 (GMT)
Fix negative boolean

Was a nice looking invention, but is obviously wrong.

Is likely no function changes, since -false is like -0
which is 0 and which false. And -true is like -<non-zero> which
is non-zero as well.

Spotted by Sybren, thanks!
July 31, 2019, 16:16 (GMT)
Fix T65837: "Zoom Axis" is not working on the node editor

We would not take into account the user "Zoom Axis" setting in certain
2D space viewports. In addition to this, the "Scale Zoom" didn't work
consistently in these spaces either.

Reviewed By: Brecht

Differential Revision: https://developer.blender.org/D5132
July 31, 2019, 16:01 (GMT)
Fix T63921: Unable to use confirm on release for keyboard shortcuts

The first issue was that we were still working around a Xorg bug that
has been solved since a very long time:

https://bugs.freedesktop.org/show_bug.cgi?id=22515

The second issue was that the global "confirm on release for mouse
clicks" was used for keyboard shortcuts as well.
July 31, 2019, 15:58 (GMT)
Cloth: multiply object matrix with bmesh vertices
July 31, 2019, 15:53 (GMT)
move more code out of GraphInserters
July 31, 2019, 15:52 (GMT)
Cleanup: remove unused boost code
July 31, 2019, 15:43 (GMT)
start removing graph inserters
July 31, 2019, 15:28 (GMT)
cleanup VTreeDataGraph creation
July 31, 2019, 15:21 (GMT)
rename file
July 31, 2019, 15:18 (GMT)
move VTreeDataGraph to separate file
July 31, 2019, 15:18 (GMT)
Fix T67999: calling obj.data.materials.clear() crashes Blender

The `BKE_material_clear_id()` didn't call `test_all_objects_materials()`,
which caused the object and mesh material slot count to go out of sync.
July 31, 2019, 15:11 (GMT)
cleanup VTreeDataGraph
July 31, 2019, 15:01 (GMT)
rename BTreeGraphBuilder to VTreeDataGraphBuilder
July 31, 2019, 14:57 (GMT)
new Combine Color node
July 31, 2019, 14:55 (GMT)
Refactor access to dependency graph

This change ensures that operators which needs access to evaluated data
first makes sure there is a dependency graph.

Other accesses to the dependency graph made it more explicit about
whether they just need a valid dependency graph pointer or whether they
expect the graph to be already evaluated.

This replaces OPTYPE_USE_EVAL_DATA which is now removed.

Some general rules about usage of accessors:

- Drawing is expected to happen from a fully evaluated dependency graph.
There is now a function to access it, which will in the future control
that dependency graph is actually evaluated.

This check is not yet done because there are some things to be taken
care about first: for example, post-update hooks might leave scene in
a state where something is still tagged for update.

- All operators which needs to access evaluated state must use
CTX_data_ensure_evaluated_depsgraph().

This function replaces OPTYPE_USE_EVAL_DATA.

The call is generally to be done in the very beginning of the
operator, prior other logic (unless this is some comprehensive
operator which might or might not need access to an evaluated state).

This call is never to be used from a loop.

If some utility function requires evaluated state of dependency graph
the graph is to be passed as an explicit argument. This way it is
clear that no evaluation happens in a loop or something like this.

- All cases which needs to know dependency graph pointer, but which
doesn't want to actually evaluate it can use old-style function
CTX_data_depsgraph_pointer(), assuming that underlying code will
ensure dependency graph is evaluated prior to accessing it.

- The new functions are replacing OPTYPE_USE_EVAL_DATA, so now it is
explicit and local about where dependency graph is being ensured.

This commit also contains some fixes of wrong usage of evaluation
functions on original objects. Ideally should be split out, but in
reality with all the APIs being renamed is quite tricky.

Fixes T67454: Blender crash on rapid undo and select

Speculation here is that sometimes undo and selection operators are
sometimes handled in the same event loop iteration, which leaves
non-evaluated dependency graph.

Fixes T67973: Crash on Fix Deforms operator
Fixes T67902: Crash when undo a loop cut

Reviewers: brecht

Reviewed By: brecht

Subscribers: lichtwerk

Maniphest Tasks: T67454

Differential Revision: https://developer.blender.org/D5343
July 31, 2019, 14:49 (GMT)
only compile when there are outputs
July 31, 2019, 14:45 (GMT)
Fix: build error with MSVC

Reviewed By: Brecht

Differential Revision: https://developer.blender.org/D5381
July 31, 2019, 14:43 (GMT)
Cloth: preserve count, labeled edges and improved debug statements
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021