Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-08-16 17:24:16 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-08-16 17:49:04 +0300
commit145f851731655910f653763f4122288bc12c5629 (patch)
treec4950da91f1615731ed26131d35477174ebeb1d0 /source/blender/windowmanager/intern/wm_window.c
parent42cee6ab213406814aae62ff28845559fbd5f4f1 (diff)
UI: click on status bar report message now opens window with Info editor
Patch by Valentin (Poulpator) Differential Revision: https://developer.blender.org/D5468
Diffstat (limited to 'source/blender/windowmanager/intern/wm_window.c')
-rw-r--r--source/blender/windowmanager/intern/wm_window.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c
index d17b8817691..dc9a7b29bb2 100644
--- a/source/blender/windowmanager/intern/wm_window.c
+++ b/source/blender/windowmanager/intern/wm_window.c
@@ -893,6 +893,9 @@ wmWindow *WM_window_open_temp(bContext *C, int x, int y, int sizex, int sizey, i
else if (type == WM_WINDOW_DRIVERS) {
ED_area_newspace(C, sa, SPACE_GRAPH, false);
}
+ else if (type == WM_WINDOW_INFO) {
+ ED_area_newspace(C,sa, SPACE_INFO,false);
+ }
else {
ED_area_newspace(C, sa, SPACE_USERPREF, false);
}
@@ -917,6 +920,9 @@ wmWindow *WM_window_open_temp(bContext *C, int x, int y, int sizex, int sizey, i
else if (sa->spacetype == SPACE_GRAPH) {
title = IFACE_("Blender Drivers Editor");
}
+ else if (sa->spacetype == SPACE_INFO){
+ title = IFACE_("Blender Info Log");
+ }
else {
title = "Blender";
}