From 4f4eabb9dbdc37e9bc95b87ac0b202e190881a0b Mon Sep 17 00:00:00 2001 From: nds Date: Mon, 5 May 2014 19:55:00 +0400 Subject: [PATCH] refs #30 - Sketch base GUI: create, draw lines Edit line. --- src/PartSet/PartSet_Module.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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))); - } } } -- 2.39.2