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:
authorCampbell Barton <ideasman42@gmail.com>2018-11-28 06:11:10 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-11-28 06:11:10 +0300
commitb5ba5a0b94b04b2fdc21cc7ed2f2ad582d637677 (patch)
tree4dfb87b894379e843240f0fee81049dd627b7768 /source/blender/editors/screen/area.c
parentb58d4e7fe4a01250f13d4bb764806e9f8d59db1b (diff)
Correct error clearing runtime tool in recent commit
Diffstat (limited to 'source/blender/editors/screen/area.c')
-rw-r--r--source/blender/editors/screen/area.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c
index 0f024b02c43..9655fb9f77a 100644
--- a/source/blender/editors/screen/area.c
+++ b/source/blender/editors/screen/area.c
@@ -1646,6 +1646,10 @@ void ED_area_initialize(wmWindowManager *wm, wmWindow *win, ScrArea *sa)
WM_toolsystem_refresh_screen_area(workspace, view_layer, sa);
sa->flag |= AREA_FLAG_ACTIVE_TOOL_UPDATE;
}
+ else {
+ sa->runtime.tool = NULL;
+ sa->runtime.is_tool_set = true;
+ }
}
}