Fix "Sketch → In Workplane" not updating the UI immediately.
parent
56e2592e2a
commit
bbf402bfe3
|
@ -1227,6 +1227,8 @@ void GraphicsWindow::MenuRequest(Command id) {
|
||||||
if(SS.GW.gs.n == 1 && SS.GW.gs.workplanes == 1) {
|
if(SS.GW.gs.n == 1 && SS.GW.gs.workplanes == 1) {
|
||||||
// A user-selected workplane
|
// A user-selected workplane
|
||||||
g->activeWorkplane = SS.GW.gs.entity[0];
|
g->activeWorkplane = SS.GW.gs.entity[0];
|
||||||
|
SS.GW.EnsureValidActives();
|
||||||
|
SS.ScheduleShowTW();
|
||||||
} else if(g->type == Group::Type::DRAWING_WORKPLANE) {
|
} else if(g->type == Group::Type::DRAWING_WORKPLANE) {
|
||||||
// The group's default workplane
|
// The group's default workplane
|
||||||
g->activeWorkplane = g->h.entity(0);
|
g->activeWorkplane = g->h.entity(0);
|
||||||
|
|
Loading…
Reference in New Issue