Blender Git Commit Log
Git Commits -> Revision 6fb22dd
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). |
Commit Details:
Full Hash: 6fb22ddfed3c61ff380d97d7537f887fb6ad9a91
Parent Commit: 9188ac0
Lines Changed: +192, -35
8 Modified Paths:
/source/blender/blenkernel/intern/DerivedMesh.c (+1, -1) (Diff)
/source/blender/blenvm/bvm/bvm_eval.cc (+28, -1) (Diff)
/source/blender/blenvm/bvm/bvm_function.cc (+0, -2) (Diff)
/source/blender/blenvm/bvm/bvm_opcode.h (+3, -0) (Diff)
/source/blender/blenvm/compile/bvm_codegen.cc (+128, -18) (Diff)
/source/blender/blenvm/compile/bvm_nodegraph.h (+30, -0) (Diff)
/source/blender/blenvm/intern/bvm_api.cc (+0, -2) (Diff)
/source/blender/blenvm/util/bvm_util_typedesc.h (+2, -11) (Diff)
/source/blender/blenvm/bvm/bvm_eval.cc (+28, -1) (Diff)
/source/blender/blenvm/bvm/bvm_function.cc (+0, -2) (Diff)
/source/blender/blenvm/bvm/bvm_opcode.h (+3, -0) (Diff)
/source/blender/blenvm/compile/bvm_codegen.cc (+128, -18) (Diff)
/source/blender/blenvm/compile/bvm_nodegraph.h (+30, -0) (Diff)
/source/blender/blenvm/intern/bvm_api.cc (+0, -2) (Diff)
/source/blender/blenvm/util/bvm_util_typedesc.h (+2, -11) (Diff)