Salome HOME
Optimization of SketchPrs objects parameters
[modules/shaper.git] / src / SketcherPrs / SketcherPrs_SymbolPrs.cpp
index a2e51cbd4fb848d73e2f56d655f6c80571775692..f74c6b5db6d55e015a3f05e373a2a2339edeae11 100644 (file)
@@ -119,10 +119,9 @@ std::map<const char*, Handle(Image_AlienPixMap)> SketcherPrs_SymbolPrs::myIconsM
 
 
 SketcherPrs_SymbolPrs::SketcherPrs_SymbolPrs(ModelAPI_Feature* theConstraint,
-                                             ModelAPI_CompositeFeature* theSketcher,
-                                             const std::shared_ptr<GeomAPI_Ax3>& thePlane)
+  SketchPlugin_Sketch* theSketcher)
  : AIS_InteractiveObject(), myConstraint(theConstraint),
-   myPlane(thePlane), myIsCustomColor(false),
+   myPlane(theSketcher->coordinatePlane()), myIsCustomColor(false),
    mySketcher(theSketcher)
 {
   SetAutoHilight(Standard_False);