fixed a crash on escape from Image Scaling WB

This commit is contained in:
easyw
2018-06-29 11:26:34 +02:00
committed by Yorik van Havre
parent 10dee3f420
commit 88729418b7
2 changed files with 5 additions and 2 deletions

View File

@@ -155,6 +155,7 @@ void CmdCreateImagePlane::activated(int iMsg)
doCommand(Doc,"App.activeDocument().%s.YSize = %d",FeatName.c_str(),nHeight);
doCommand(Doc,"App.activeDocument().%s.Placement = App.Placement(App.Vector(%f,%f,%f),App.Rotation(%f,%f,%f,%f))"
,FeatName.c_str(),p.x,p.y,p.z,r[0],r[1],r[2],r[3]);
doCommand(Doc,"Gui.SendMsgToActiveView('ViewFit')");
commitCommand();
}
}