From: nds Date: Mon, 5 May 2014 15:55:00 +0000 (+0400) Subject: refs #30 - Sketch base GUI: create, draw lines X-Git-Tag: V_0.2~87 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4f4eabb9dbdc37e9bc95b87ac0b202e190881a0b;p=modules%2Fshaper.git refs #30 - Sketch base GUI: create, draw lines Edit line. --- diff --git a/src/PartSet/PartSet_Module.cpp b/src/PartSet/PartSet_Module.cpp index bb9556b44..c23955263 100644 --- a/src/PartSet/PartSet_Module.cpp +++ b/src/PartSet/PartSet_Module.cpp @@ -120,14 +120,13 @@ void PartSet_Module::onOperationStarted() connect(aPreviewOp, SIGNAL(featureConstructed(boost::shared_ptr, int)), this, SLOT(onFeatureConstructed(boost::shared_ptr, int))); + connect(aPreviewOp, SIGNAL(launchOperation(std::string, boost::shared_ptr)), + this, SLOT(onLaunchOperation(std::string, boost::shared_ptr))); PartSet_OperationSketch* aSketchOp = dynamic_cast(aPreviewOp); if (aSketchOp) { connect(aSketchOp, SIGNAL(planeSelected(double, double, double)), this, SLOT(onPlaneSelected(double, double, double))); - connect(aSketchOp, SIGNAL(launchOperation(std::string, boost::shared_ptr)), - this, SLOT(onLaunchOperation(std::string, boost::shared_ptr))); - } } }