[Bf-blender-cvs] [78c342b] depsgraph_refactor: Depsgraph: Code cleanup - Remove unneeded define
Joshua Leung
noreply at git.blender.org
Wed Jan 21 12:59:55 CET 2015
Commit: 78c342bbc63af707579b7cfe70331cb388925f7c
Author: Joshua Leung
Date: Fri Jan 16 23:03:41 2015 +1300
Branches: depsgraph_refactor
https://developer.blender.org/rB78c342bbc63af707579b7cfe70331cb388925f7c
Depsgraph: Code cleanup - Remove unneeded define
===================================================================
M source/blender/depsgraph/intern/depsgraph_build_nodes.cpp
===================================================================
diff --git a/source/blender/depsgraph/intern/depsgraph_build_nodes.cpp b/source/blender/depsgraph/intern/depsgraph_build_nodes.cpp
index 9af05cb..be75f51 100644
--- a/source/blender/depsgraph/intern/depsgraph_build_nodes.cpp
+++ b/source/blender/depsgraph/intern/depsgraph_build_nodes.cpp
@@ -360,10 +360,9 @@ void DepsgraphNodeBuilder::build_animdata(ID *id)
/* actions and NLA - as a single unit for now, as it gets complicated to schedule otherwise */
if ((adt->action) || (adt->nla_tracks.first)) {
/* create the node */
- OperationDepsNode *adt_op; // XXX: unread
- adt_op = add_operation_node(id, DEPSNODE_TYPE_ANIMATION,
- DEPSOP_TYPE_EXEC, function_bind(BKE_animsys_eval_animdata, _1, id, time_src),
- DEG_OPCODE_ANIMATION, id->name);
+ add_operation_node(id, DEPSNODE_TYPE_ANIMATION,
+ DEPSOP_TYPE_EXEC, function_bind(BKE_animsys_eval_animdata, _1, id, time_src),
+ DEG_OPCODE_ANIMATION, id->name);
// TODO: for each channel affected, we might also want to add some support for running RNA update callbacks on them
// (which will be needed for proper handling of drivers later)
More information about the Bf-blender-cvs
mailing list