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

@@ -118,10 +118,10 @@ App::DocumentObjectExecReturn *Pocket::execute(void)
// turn around for pockets
SketchVector *= -1;
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);