fix [#34860] View in Weight Painting mode no longer rotates around active bone
This commit is contained in:
@@ -440,7 +440,7 @@ static void viewops_data_create(bContext *C, wmOperator *op, const wmEvent *even
|
||||
Scene *scene = CTX_data_scene(C);
|
||||
Object *ob = OBACT;
|
||||
|
||||
if (ob && ob->mode & OB_MODE_ALL_PAINT) {
|
||||
if (ob && (ob->mode & OB_MODE_ALL_PAINT) && (BKE_object_pose_armature_get(ob) == NULL)) {
|
||||
/* transformation is disabled for painting modes, which will make it
|
||||
* so previous offset is used. This is annoying when you open file
|
||||
* saved with active object in painting mode
|
||||
|
||||
Reference in New Issue
Block a user