Miscellaneous fixes
This commit is contained in:
committed by
Stefan Tröger
parent
7be8911b2b
commit
2732f44b42
@@ -140,10 +140,10 @@ App::DocumentObjectExecReturn *Pad::execute(void)
|
||||
Base::Vector3d SketchVector(0,0,1);
|
||||
SketchOrientation.multVec(SketchVector,SketchVector);
|
||||
|
||||
this->positionBySketch();
|
||||
TopLoc_Location invObjLoc = this->getLocation().Inverted();
|
||||
|
||||
try {
|
||||
this->positionBySketch();
|
||||
TopLoc_Location invObjLoc = this->getLocation().Inverted();
|
||||
|
||||
base.Move(invObjLoc);
|
||||
|
||||
gp_Dir dir(SketchVector.x,SketchVector.y,SketchVector.z);
|
||||
|
||||
Reference in New Issue
Block a user