Don't let the user create workplanes locked in another workplane;
that is almost surely a mistake. [git-p4: depot-paths = "//depot/solvespace/": change = 1888]solver
parent
8d656bc600
commit
37795d24ba
6
draw.cpp
6
draw.cpp
|
@ -467,6 +467,12 @@ void GraphicsWindow::MouseLeftDown(double mx, double my) {
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case MNU_WORKPLANE:
|
case MNU_WORKPLANE:
|
||||||
|
if(LockedInWorkplane()) {
|
||||||
|
Error("Sketching in a workplane already; sketch in 3d before "
|
||||||
|
"creating new workplane.");
|
||||||
|
ClearSuper();
|
||||||
|
break;
|
||||||
|
}
|
||||||
hr = AddRequest(Request::WORKPLANE);
|
hr = AddRequest(Request::WORKPLANE);
|
||||||
SS.GetEntity(hr.entity(1))->PointForceTo(v);
|
SS.GetEntity(hr.entity(1))->PointForceTo(v);
|
||||||
SS.GetEntity(hr.entity(32))->NormalForceTo(
|
SS.GetEntity(hr.entity(32))->NormalForceTo(
|
||||||
|
|
Loading…
Reference in New Issue