Object: support running transfer mode in any object mode

There is no need to limit this to sculpt mode,
prepare for key short cut changes, see: T88092.
This commit is contained in:
Campbell Barton 2021-06-02 21:29:15 +10:00
parent facc62d0d5
commit 69e15eb1e4
1 changed files with 1 additions and 1 deletions

View File

@ -419,7 +419,7 @@ static bool object_transfer_mode_poll(bContext *C)
return false;
}
const Object *ob = CTX_data_active_object(C);
return ob && (ob->mode & (OB_MODE_SCULPT));
return ob && (ob->mode != OB_MODE_OBJECT);
}
/* Update the viewport rotation origin to the mouse cursor. */