Correct error clearing runtime tool in recent commit

This commit is contained in:
Campbell Barton
2018-11-28 14:11:10 +11:00
parent b58d4e7fe4
commit b5ba5a0b94

View File

@@ -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;
}
}
}