Blender Git Commits

Blender Git "depsgraph_refactor" branch commits.

Page: 29 / 59

April 13, 2014, 14:55 (GMT)
Changed rankdir for graphviz output to LR, this gives a bit more compact
clusters with long name strings.
April 13, 2014, 14:35 (GMT)
RNA function for debug output of depsgraph evaluation (stub for now).
April 13, 2014, 10:30 (GMT)
Depsgraph graphviz debugging: Replaced plain FILE pointer with an
internal context struct.

This allows passing along several options, flags, etc. without too many
parameters in all the functions, and possibly tweaking the common
fprintf calls.
April 13, 2014, 10:04 (GMT)
Cleanup: moved functions in depsgraph.cpp.
April 13, 2014, 10:00 (GMT)
Fix for Depsgraph destructor: double freeing of IDDepsNodes.
April 13, 2014, 09:50 (GMT)
Finally removed the get_node and add_new_node methods from Depsgraph.

These are replaced entirely by equivalent functions in the actual
container nodes now.

NOTE: Operation nodes are currently not collected in the `all_opnodes`
list. This should happen as a single step after the actual node
hierarchy is built, but currently is not really used anyway.
April 13, 2014, 08:44 (GMT)
Fix for recent cleanup name change in master (rB3216e4b202195ed88455d1b43b348a2cf8f40d77)
April 13, 2014, 08:36 (GMT)
Merge branch 'master' into depsgraph_refactor
April 13, 2014, 08:32 (GMT)
Removed the `remove_from_graph` callbacks from DepsNode and the generic
`remove_node` function in Depsgraph.

These were currently unused anyway. In future for removing a node the
respective remove_xxx methods in the actual container should be called.
This is more consistent with the hierarchical data structure and the
actual ownership of nodes. Might add convenience methods for this sort
of thing later, but the raw Depsgraph node container is cleaner this way.
April 12, 2014, 15:01 (GMT)
Removed the add_to_graph virtual function from nodes.

All functionality implemented in these functions is now in the
respective owner node types when using one of the explicit `add` methods
such as id_node->add_component, comp_node->add_operation, etc.

There are a few loose ends here, in particular for subgraphs and time
source nodes, but these existed before and have to be looked at later.
April 12, 2014, 10:49 (GMT)
Removed 'add_operation' from Depsgraph.

This is now always done in the respective component node directly.
April 12, 2014, 10:38 (GMT)
Removed unused method declarations for component/operation finding
directly from the graph.

The graph should rather not require such deep lookup wrappers. The use
cases for such functionality are all in the build procedure, so it makes
sense to keep the graph as a simple container with raw access only to
the root node types and id nodes. Builder classes can then provide
wrappers for detailed lookup in the respective subnodes.
April 12, 2014, 08:41 (GMT)
Removed unused RNA-based get_node variants (from_pointer, from_rna_path).

Only the find_node variants are needed (for tagging), build functions
for RNA paths have their own implementation in the builder classes.
April 12, 2014, 07:28 (GMT)
Removed deprecated build code, all the functions have now been ported to
the new 2-pass build system.
April 12, 2014, 07:23 (GMT)
Ported the subgraph node builder function.

This is mostly a stub at this point, needs to be looked at.
April 12, 2014, 07:11 (GMT)
Ported over build functions for object data (geometry, camera, lamp,
shape keys).
April 10, 2014, 12:08 (GMT)
Removed leftover dead code.
April 10, 2014, 11:58 (GMT)
Ported over build functions for particle systems.
April 10, 2014, 09:38 (GMT)
Ported over build functions for armatures and IK solvers.
April 10, 2014, 07:12 (GMT)
Ported over build functions for rigidbody nodes/relations.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021