Salome HOME
refs #30 - Sketch base GUI: create, draw lines
[modules/shaper.git] / src / PartSet / PartSet_OperationSketch.cpp
index 1f1f1e91c868e922ad5955e49cc21f5878c3c6f7..8ce3b79589b82be90cfce5d7b7d2a8e33423ea04 100644 (file)
@@ -63,7 +63,8 @@ void PartSet_OperationSketch::setSelectedShapes(const NCollection_List<TopoDS_Sh
   aData->real(SKETCH_ATTR_PLANE_C)->setValue(aC);
   aData->real(SKETCH_ATTR_PLANE_D)->setValue(aD);
 
-  //emit viewPlaneChanged();
+  boost::shared_ptr<GeomAPI_Dir> aDir = aPlane->direction();
+  emit viewerProjectionChange(aDir->x(), aDir->y(), aDir->z());
 
   commit();
 }