PD: remove superfluous code block from Helix::execute

This commit is contained in:
wmayer
2021-03-28 13:38:53 +02:00
parent 2df88592ec
commit 27049b3e54

View File

@@ -175,12 +175,6 @@ App::DocumentObjectExecReturn *Helix::execute(void)
return new App::DocumentObjectExecReturn(e.what());
}
// get revolve axis
Base::Vector3d b = Base.getValue();
gp_Pnt pnt(b.x,b.y,b.z);
Base::Vector3d v = Axis.getValue();
gp_Dir dir(v.x,v.y,v.z);
try {
this->positionByPrevious();
TopLoc_Location invObjLoc = this->getLocation().Inverted();