diff options
author | Julian Eisel <julian@blender.org> | 2022-07-25 12:42:10 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2022-07-25 12:44:56 +0300 |
commit | c5afef12240d142bce3a22498e3aee5e4656566d (patch) | |
tree | 235972176fd1cc6854ad8466ea16a3ecaebb1f1d /source/blender/editors/object | |
parent | 1c05f30e4dcbf05a7dc1a700cd76dc8c3d70601d (diff) |
Fix missing disabled hint when dragging from Asset Browser in edit mode
When dragging assets into the 3D View while in any other mode than
object mode, dropping would be disabled and the cursor would indicate
that. However there was supposed to be an "Only supported in object
mode" message, that similar operators showed, but got forgotten when
this one was introduced.
Diffstat (limited to 'source/blender/editors/object')
-rw-r--r-- | source/blender/editors/object/object_add.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_add.cc b/source/blender/editors/object/object_add.cc index 9c34e203bee..e9abf8c1441 100644 --- a/source/blender/editors/object/object_add.cc +++ b/source/blender/editors/object/object_add.cc @@ -3993,7 +3993,7 @@ void OBJECT_OT_transform_to_mouse(wmOperatorType *ot) /* api callbacks */ ot->invoke = object_add_drop_xy_generic_invoke; ot->exec = object_transform_to_mouse_exec; - ot->poll = ED_operator_objectmode; + ot->poll = ED_operator_objectmode_poll_msg; /* flags */ ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; |