diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-11-23 13:39:28 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-11-23 13:39:28 +0300 |
commit | f3fa5c1258d2fb08b83e080b99172ccc0dc1d67a (patch) | |
tree | ba88222a0193b52a2d4844c6946fd3237a15b817 /source/blender/depsgraph/intern/nodes | |
parent | 434ed96dd2aafe787d17925b929b12774cea2c62 (diff) |
Depsgraph: Cleanup, always call full `object`
Diffstat (limited to 'source/blender/depsgraph/intern/nodes')
-rw-r--r-- | source/blender/depsgraph/intern/nodes/deg_node_component.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/depsgraph/intern/nodes/deg_node_component.cc b/source/blender/depsgraph/intern/nodes/deg_node_component.cc index e87c87813e3..f21665eeb82 100644 --- a/source/blender/depsgraph/intern/nodes/deg_node_component.cc +++ b/source/blender/depsgraph/intern/nodes/deg_node_component.cc @@ -383,8 +383,8 @@ void BoneComponentDepsNode::init(const ID *id, const char *subdata) //this->name = subdata; /* bone-specific node data */ - Object *ob = (Object *)id; - this->pchan = BKE_pose_channel_find_name(ob->pose, subdata); + Object *object = (Object *)id; + this->pchan = BKE_pose_channel_find_name(object->pose, subdata); } DEG_DEPSNODE_DEFINE(BoneComponentDepsNode, DEG_NODE_TYPE_BONE, "Bone Component"); |