Depsgraph: Use explicit opcode for shape key
This commit is contained in:
@@ -714,9 +714,10 @@ void DepsgraphNodeBuilder::build_cloth(Scene *scene, Object *object)
|
||||
void DepsgraphNodeBuilder::build_shapekeys(Key *key)
|
||||
{
|
||||
build_animdata(&key->id);
|
||||
|
||||
add_operation_node(&key->id, DEG_NODE_TYPE_GEOMETRY, NULL,
|
||||
DEG_OPCODE_PLACEHOLDER, "Shapekey Eval");
|
||||
add_operation_node(&key->id,
|
||||
DEG_NODE_TYPE_GEOMETRY,
|
||||
NULL,
|
||||
DEG_OPCODE_GEOMETRY_SHAPEKEY);
|
||||
}
|
||||
|
||||
/* ObData Geometry Evaluation */
|
||||
|
||||
@@ -118,6 +118,7 @@ static const char *stringify_opcode(eDepsOperation_Code opcode)
|
||||
/* Geometry. */
|
||||
STRINGIFY_OPCODE(GEOMETRY_UBEREVAL);
|
||||
STRINGIFY_OPCODE(GEOMETRY_CLOTH_MODIFIER);
|
||||
STRINGIFY_OPCODE(GEOMETRY_SHAPEKEY);
|
||||
/* Pose. */
|
||||
STRINGIFY_OPCODE(POSE_INIT);
|
||||
STRINGIFY_OPCODE(POSE_INIT_IK);
|
||||
|
||||
@@ -168,6 +168,7 @@ typedef enum eDepsOperation_Code {
|
||||
/* Evaluate the whole geometry, including modifiers. */
|
||||
DEG_OPCODE_GEOMETRY_UBEREVAL,
|
||||
DEG_OPCODE_GEOMETRY_CLOTH_MODIFIER,
|
||||
DEG_OPCODE_GEOMETRY_SHAPEKEY,
|
||||
|
||||
/* Pose. -------------------------------------------- */
|
||||
/* Init pose, clear flags, etc. */
|
||||
|
||||
Reference in New Issue
Block a user