From 9cdefba38efa06abf7d107dffeba24fb0c02933b Mon Sep 17 00:00:00 2001 From: nds Date: Mon, 28 Mar 2016 13:00:42 +0300 Subject: [PATCH] #1371 Using auxilliary Sketch elements in any Feature: sketch always has a preview in order to see auxiliary/construction elements in the viewer. --- src/SketchPlugin/SketchPlugin_Sketch.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/SketchPlugin/SketchPlugin_Sketch.cpp b/src/SketchPlugin/SketchPlugin_Sketch.cpp index 8b84e8971..0e2b9acd3 100644 --- a/src/SketchPlugin/SketchPlugin_Sketch.cpp +++ b/src/SketchPlugin/SketchPlugin_Sketch.cpp @@ -110,13 +110,6 @@ void SketchPlugin_Sketch::execute() } } - if (aFeaturesPreview.empty()) { - // no good features for generation of preview => erase result if exists - if (firstResult().get() && !firstResult()->isDisabled()) - removeResults(0, false); - return; - } - // Collect all edges as one big wire std::shared_ptr aBigWire(new GeomAPI_PlanarEdges); std::list >::const_iterator aShapeIt = aFeaturesPreview.begin(); -- 2.39.2