And silence unused variable warning.
This commit is contained in:
Germano Cavalcante 2022-02-01 18:48:36 -03:00
parent b127654816
commit 6b914a43ad
1 changed files with 1 additions and 2 deletions

View File

@ -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;