From bbf402bfe3fe2a353aa34fdda6101f32baf53e73 Mon Sep 17 00:00:00 2001 From: whitequark Date: Tue, 28 Jul 2020 14:10:19 +0000 Subject: [PATCH] =?UTF-8?q?Fix=20"Sketch=20=E2=86=92=20In=20Workplane"=20n?= =?UTF-8?q?ot=20updating=20the=20UI=20immediately.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/graphicswin.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/graphicswin.cpp b/src/graphicswin.cpp index bc4e485f..073fb5d8 100644 --- a/src/graphicswin.cpp +++ b/src/graphicswin.cpp @@ -1227,6 +1227,8 @@ void GraphicsWindow::MenuRequest(Command id) { if(SS.GW.gs.n == 1 && SS.GW.gs.workplanes == 1) { // A user-selected workplane g->activeWorkplane = SS.GW.gs.entity[0]; + SS.GW.EnsureValidActives(); + SS.ScheduleShowTW(); } else if(g->type == Group::Type::DRAWING_WORKPLANE) { // The group's default workplane g->activeWorkplane = g->h.entity(0);