Posemode, Wkey option "Select constraint target" did not work for Copy
Scale constraint.
Also added a check for NULL pointer, constraint targets cannot exist...
This commit is contained in:
2006-08-12 12:33:24 +00:00
parent e47137ff42
commit f27acb2e7c
2 changed files with 3 additions and 1 deletions

View File

@@ -295,7 +295,8 @@ void pose_select_constraint_target(void)
if(ob==target) {
if(subtarget) {
bPoseChannel *pchanc= get_pose_channel(ob->pose, subtarget);
pchanc->bone->flag |= BONE_SELECTED|BONE_TIPSEL|BONE_ROOTSEL;
if(pchanc)
pchanc->bone->flag |= BONE_SELECTED|BONE_TIPSEL|BONE_ROOTSEL;
}
}
}