diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-05-24 17:40:33 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-05-24 17:40:33 +0300 |
commit | 8d9faf840b8f99255b9989d178e5e4a6f5ec7f87 (patch) | |
tree | 99fa20f06f70e7d645aea8f153c1b79bc924f9ec /source/blender/editors/screen | |
parent | 1318660b0449b6e6afe6d349826af89005bc29dd (diff) |
3D View: remove poll 3D view for copy/paste
These operators only need selected objects.
Diffstat (limited to 'source/blender/editors/screen')
-rw-r--r-- | source/blender/editors/screen/screen_ops.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c index cbdf05a1c82..4ecbeeed837 100644 --- a/source/blender/editors/screen/screen_ops.c +++ b/source/blender/editors/screen/screen_ops.c @@ -138,6 +138,14 @@ int ED_operator_screen_mainwinactive(bContext *C) return 1; } +int ED_operator_scene(bContext *C) +{ + Scene *scene = CTX_data_scene(C); + if (scene) + return 1; + return 0; +} + int ED_operator_scene_editable(bContext *C) { Scene *scene = CTX_data_scene(C); |