Salome HOME
refs #493: fix bugs
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ProfileInterpolateOp.cxx
index 362ceb6ea291c8e5a1775b3542c1b5318174dc34..7caefc3b9a22c621b75f3b40431c67b9bb0df118 100644 (file)
@@ -300,7 +300,7 @@ TopoDS_Shape HYDROGUI_ProfileInterpolateOp::previewShape( HYDROData_IProfilesInt
                 pointSeq.Append( gp_XYZ( aPoints[i], aPoints[i+1], aPoints[i+2] ) );
             TopoDS_Shape aWire = HYDROData_PolylineXY::BuildWire( HYDROData_IPolyline::SECTION_SPLINE, false, pointSeq );
             if ( !aWire.IsNull() )
-                aBuilder.Add( aWire, aPreviewShape );
+                aBuilder.Add( aPreviewShape, aWire );
         }
     }