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 |
November 19, 2015, 08:59 (GMT) |
Mesh type for storing DerivedMesh as a temporary storage on the node eval stack. |
November 18, 2015, 09:21 (GMT) |
Use a full TypeDesc in node sockets. For the time being this is synonymous with the base type, but in future it could allow (fixed-size) arrays and vector semantics. |
November 18, 2015, 09:20 (GMT) |
Set of basic node classes for representing modifiers in pynodes. |
November 18, 2015, 09:20 (GMT) |
Simple integration of object nodes into the modifier stack evaluation. |
November 18, 2015, 08:27 (GMT) |
Merge branch 'master' into object_nodes |
|