diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-06-27 13:29:22 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-06-27 17:08:52 +0300 |
commit | c3594f6469fbbdd433ee20923cab62c33c271946 (patch) | |
tree | 88fb3a1938ad5d7ae9a47e03f741e6a0a7df93a7 /source/blender/windowmanager/intern/wm_operators.c | |
parent | fad585d6f4b99465949bcd29529109527ee254eb (diff) |
UI: remove layout choosing menu from new window operator.
The handling of multiple window layouts within a workspace is intended to
be automatic now, this was a leftover from an earlier design.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_operators.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_operators.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c index 5f66deefb93..b2b82af7992 100644 --- a/source/blender/windowmanager/intern/wm_operators.c +++ b/source/blender/windowmanager/intern/wm_operators.c @@ -2304,20 +2304,12 @@ static void WM_OT_window_close(wmOperatorType *ot) static void WM_OT_window_new(wmOperatorType *ot) { - PropertyRNA *prop; - ot->name = "New Window"; ot->idname = "WM_OT_window_new"; ot->description = "Create a new Blender window"; ot->exec = wm_window_new_exec; - ot->invoke = wm_window_new_invoke; ot->poll = wm_operator_winactive_normal; - - prop = RNA_def_enum(ot->srna, "screen", DummyRNA_NULL_items, 0, "Screen", ""); - RNA_def_enum_funcs(prop, wm_window_new_screen_itemf); - RNA_def_property_flag(prop, PROP_ENUM_NO_TRANSLATE); - ot->prop = prop; } static void WM_OT_window_fullscreen_toggle(wmOperatorType *ot) |