Blender Git Commits

Blender Git "strand_nodes" branch commits.

Page: 26 / 37

November 22, 2015, 14:24 (GMT)
Implementation of a simple 'Array' modifier node.
November 22, 2015, 10:18 (GMT)
Fix for invalid comparison operator of SocketPair.
November 22, 2015, 09:05 (GMT)
Notifier from node changes to redraw the viewport when geometry nodes are updated.

This is a hack! The nodes are defined in python and the notifier is currently
triggered far to broadly, but currently there is no nicer way of doing it.
November 22, 2015, 09:03 (GMT)
Extension of the new dependency graph relations to support object nodes.

This generally triggers a mesh data recalc when *anything* inside the
object node tree is changed. Eventually it should be more specific to
changes in a geometry node tree, but the current design of deps nodes
does not reflect such internal node semantics nicely (although new
depsgraph will allow us to do it properly in the future).
November 21, 2015, 16:20 (GMT)
Revert "Fix for unfreed memory of the default empty mesh."

This reverts commit 0ab9e4848d68ade3903c25cfea12ea982aefc2ae.
November 21, 2015, 16:00 (GMT)
Fix for unfreed memory of the default empty mesh.

When using a static variable for this it needs to be destroyed explicitly.
November 21, 2015, 10:56 (GMT)
Reference counting for mesh_ptr variables on the stack.

Any extensive data stored as a pointer on the stack should be ref-counted,
so that it stays alive only as long as used by some node.

The way this works is by enclosing instructions that access the stack
entry with 'init'/'release' opcodes. These are added automatically based
on output socket types (nodes don't have to be created explicitly for them).
November 21, 2015, 10:35 (GMT)
Merge branch 'master' into object_nodes
November 20, 2015, 16:37 (GMT)
Extended graphviz debug printing to also show the graph input/output connections.
November 20, 2015, 16:01 (GMT)
Node graph optimization: skip over 'pass' nodes.

These nodes don't have opcodes any more, they are merely placeholders
to simplify node graph construction. Ultimately they will be removed
in the 'finalize' function, along with any other unreachable nodes.
November 20, 2015, 15:03 (GMT)
Removed unused function declaration get_node_type_from_opcode
November 20, 2015, 09:22 (GMT)
Use a single geometry subtree also for the graphviz debug function.
November 20, 2015, 09:12 (GMT)
Use the geometry subtree in object nodes rather than the toplevel node tree.

This is currently a hack, since only a single geotree is used. Eventually
all geometry subtree result should just be combined.
November 20, 2015, 08:58 (GMT)
Removed unused code.
November 19, 2015, 16:19 (GMT)
Added a 'PASS_MESH' node.
November 19, 2015, 16:18 (GMT)
Make an extra copy of the resulting node DM after eval.

This is necessary unfortunately because of the unreliable nature of dm->needsFree.
Without it the BKE_object_free_derived_caches function can destroy our static
empty DM at any point.
November 19, 2015, 16:01 (GMT)
Added an assertion to make sure we don't add invalid node instances with unknown types.
November 19, 2015, 15:42 (GMT)
Added a graphviz debug dump function for the object modifier node tree.
November 19, 2015, 15:12 (GMT)
Use the default output value for graph returns in case they remain unlinked.

In case of meshes this will always be an empty mesh, but it at least gives a valid return value.
November 19, 2015, 14:50 (GMT)
Foundations for a mesh data type in bvm
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021