Miscellaneous fixes

This commit is contained in:
jrheinlaender
2013-05-17 20:14:00 +04:30
committed by Stefan Tröger
parent 7be8911b2b
commit 2732f44b42
6 changed files with 14 additions and 12 deletions

View File

@@ -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);