diff options
author | Julian Eisel <julian@blender.org> | 2021-10-26 19:06:10 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2021-10-26 19:14:17 +0300 |
commit | 7979dff9dc7985cebb530c7490dc730d9c1acf1d (patch) | |
tree | c8c1ba2902e374e9661985cf6eaa0ff760987aa2 /source/blender/editors/include | |
parent | df2e05393533bff6b14751deb890ef0fc4064c8f (diff) |
UI: Let object drop operator display hint why it's disabled
When dragging an object in non-object mode into a 3D View, there will now be
red text explaining that this is only possible in object mode.
The previous commit enabled this.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/ED_screen.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_screen.h b/source/blender/editors/include/ED_screen.h index b90c7f27c57..08b6c02a8d0 100644 --- a/source/blender/editors/include/ED_screen.h +++ b/source/blender/editors/include/ED_screen.h @@ -317,6 +317,7 @@ bool ED_operator_regionactive(struct bContext *C); bool ED_operator_scene(struct bContext *C); bool ED_operator_scene_editable(struct bContext *C); bool ED_operator_objectmode(struct bContext *C); +bool ED_operator_objectmode_poll_msg(struct bContext *C); bool ED_operator_view3d_active(struct bContext *C); bool ED_operator_region_view3d_active(struct bContext *C); |