diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2022-02-02 00:48:36 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2022-02-02 00:50:10 +0300 |
commit | 6b914a43ad3b16a441e5e5b8d5f9745977e790a8 (patch) | |
tree | 6ccd675609a184d7e0b68930e1ee482d4326c2df /source | |
parent | b127654816a7cb6e66a0a9bc2b79604d5bdc9f0a (diff) |
Fix error in ff5e8e6d535374891e09
And silence unused variable warning.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/transform/transform_convert_armature.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform_convert_armature.c b/source/blender/editors/transform/transform_convert_armature.c index a528cb5de57..2a696dd0593 100644 --- a/source/blender/editors/transform/transform_convert_armature.c +++ b/source/blender/editors/transform/transform_convert_armature.c @@ -755,7 +755,7 @@ void createTransPose(TransInfo *t) continue; } - if (!has_targetless_ik(pchan) == NULL) { + if (has_targetless_ik(pchan) == NULL) { if (pchan->parent && (bone->flag & BONE_CONNECTED)) { if (bone->flag & BONE_HINGE_CHILD_TRANSFORM) { has_translate_rotate[0] = true; @@ -1536,7 +1536,6 @@ void transform_convert_pose_transflags_update(Object *ob, const int mode, const bArmature *arm = ob->data; bPoseChannel *pchan; Bone *bone; - int total = 0; for (pchan = ob->pose->chanbase.first; pchan; pchan = pchan->next) { bone = pchan->bone; |