Bugfix #17465: "Pose Edit Not Possible" message activated on 3D navigation
When navigating the 3d-view with a bone (or bones) selected, 'Rest Pose' enabled for the armature, and 'Orbit Around Selection' turned on, a "Pose Edit Not Possible" warning would pop up every time the view was manipulated. Was caused by a missing check for the 'TFM_DUMMY' transform mode used when calculating center to use (based on active item)
This commit is contained in:
@@ -913,8 +913,8 @@ static void createTransPose(TransInfo *t, Object *ob)
|
||||
if (arm==NULL || ob->pose==NULL) return;
|
||||
|
||||
if (arm->flag & ARM_RESTPOS) {
|
||||
if(t->mode!=TFM_BONESIZE) {
|
||||
notice ("Pose edit not possible while Rest Position is enabled");
|
||||
if(ELEM(t->mode, TFM_DUMMY, TFM_BONESIZE)==0) {
|
||||
notice("Pose edit not possible while Rest Position is enabled");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user