Depsgraph: Fix wrong data type used for armature tag

Spotted by Ray aka LazyDodo, thanks!
This commit is contained in:
2017-08-03 08:19:13 +02:00
parent 4fada2e10f
commit c27446b5a0

View File

@@ -134,7 +134,7 @@ void DepsgraphNodeBuilder::build_splineik_pose(Scene *scene,
void DepsgraphNodeBuilder::build_rig(Scene *scene, Object *object)
{
bArmature *armature = (bArmature *)object->data;
const bool armature_tag = armature->id.tag;
const short armature_tag = armature->id.tag;
#ifdef WITH_COPY_ON_WRITE
/* NOTE: We need to expand both object and armature, so this way we can
* safely create object level pose.