[Bf-blender-cvs] [e53a981] depsgraph_refactor: Added a few more (placeholder) opcodes to make it possible to port the existing depsgraph code

Joshua Leung noreply at git.blender.org
Wed Dec 17 04:41:03 CET 2014


Commit: e53a98195ccdec94457456272c2292b233f9eac9
Author: Joshua Leung
Date:   Sun Dec 14 21:34:36 2014 +1300
Branches: depsgraph_refactor
https://developer.blender.org/rBe53a98195ccdec94457456272c2292b233f9eac9

Added a few more (placeholder) opcodes to make it possible to port the existing depsgraph code

===================================================================

M	source/blender/depsgraph/intern/depsnode_opcodes.h

===================================================================

diff --git a/source/blender/depsgraph/intern/depsnode_opcodes.h b/source/blender/depsgraph/intern/depsnode_opcodes.h
index 28725eb..27047dc 100644
--- a/source/blender/depsgraph/intern/depsnode_opcodes.h
+++ b/source/blender/depsgraph/intern/depsnode_opcodes.h
@@ -46,6 +46,9 @@
 /* Placeholder for operations which don't need special mention */
 DEF_DEG_OPCODE(OPERATION)
 
+// XXX: Placeholder while porting depsgraph code
+DEF_DEG_OPCODE(PLACEHOLDER)
+
 DEF_DEG_OPCODE(NOOP)
 
 /* Animation, Drivers, etc. ------------------------ */
@@ -73,14 +76,18 @@ DEF_DEG_OPCODE(TRANSFORM_CONSTRAINTS)
 //DEF_DEG_OPCODE(TRANSFORM_CONSTRAINT)
 //DEF_DEG_OPCODE(TRANSFORM_CONSTRAINTS_DONE)
 
-//DEF_DEG_OPCODE(TRANSFORM_RIGIDBODY)
+/* Rigidbody Sim - Copy Results */
+DEF_DEG_OPCODE(TRANSFORM_RIGIDBODY)
 
 /* Transform exitpoint */
 DEF_DEG_OPCODE(TRANSFORM_FINAL)
 
+/* XXX: ubereval is for temporary porting purposes only */
+DEF_DEG_OPCODE(OBJECT_UBEREVAL)
+
 /* Geometry ---------------------------------------- */
 
-/* Placeholder - UberEval */
+/* XXX: Placeholder - UberEval */
 DEF_DEG_OPCODE(GEOMETRY_UBEREVAL)
 
 /* Modifier */
@@ -123,4 +130,9 @@ DEF_DEG_OPCODE(BONE_CONSTRAINTS)
 // TODO: deform mats could get calculated in the final_transform ops...
 DEF_DEG_OPCODE(BONE_TRANSFORM_FINAL)
 
+/* Particles --------------------------------------- */
+
+/* XXX: placeholder - Particle System eval */
+DEF_DEG_OPCODE(PSYS_EVAL)
+
 #endif /* __DEPSNODE_OPCODES_H__ */




More information about the Bf-blender-cvs mailing list