Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug #183: regression: polyline - unnecessary table in Additition mode.
[modules/hydro.git]
/
src
/
HYDROCurveCreator
/
CurveCreator_Profile.cxx
diff --git
a/src/HYDROCurveCreator/CurveCreator_Profile.cxx
b/src/HYDROCurveCreator/CurveCreator_Profile.cxx
index bd56d2725f8fad35d384c2c5fa2e32e35d45a3b1..d34695d9688de31e6d2dbe484715c8e92330c0c7 100644
(file)
--- a/
src/HYDROCurveCreator/CurveCreator_Profile.cxx
+++ b/
src/HYDROCurveCreator/CurveCreator_Profile.cxx
@@
-24,9
+24,6
@@
#include "CurveCreator_Section.hxx"
#include "CurveCreator_Displayer.h"
#include "CurveCreator_Section.hxx"
#include "CurveCreator_Displayer.h"
-#include <AIS_Point.hxx>
-#include <AIS_Line.hxx>
-#include <AIS_Shape.hxx>
#include <BRepBuilderAPI_MakeEdge.hxx>
#include <BRepBuilderAPI_MakeWire.hxx>
#include <Geom_CartesianPoint.hxx>
#include <BRepBuilderAPI_MakeEdge.hxx>
#include <BRepBuilderAPI_MakeWire.hxx>
#include <Geom_CartesianPoint.hxx>
@@
-71,7
+68,7
@@
bool CurveCreator_Profile::clearInternal()
{
// erase curve from the viewer
if( myDisplayer )
{
// erase curve from the viewer
if( myDisplayer )
- myDisplayer->erase
(
);
+ myDisplayer->erase
All( true
);
// Delete all allocated data.
mySections[ 0 ]->myPoints.clear();
// Delete all allocated data.
mySections[ 0 ]->myPoints.clear();
@@
-139,13
+136,13
@@
bool CurveCreator_Profile::setClosed( const int theISection,
bool CurveCreator_Profile::setSectionTypeInternal( const int theISection,
const CurveCreator::SectionType theType )
{
bool CurveCreator_Profile::setSectionTypeInternal( const int theISection,
const CurveCreator::SectionType theType )
{
- return
false
;
+ return
CurveCreator_Curve::setSectionTypeInternal( theISection, theType )
;
}
bool CurveCreator_Profile::setSectionType( const int theISection,
const CurveCreator::SectionType theType )
{
}
bool CurveCreator_Profile::setSectionType( const int theISection,
const CurveCreator::SectionType theType )
{
- return
false
;
+ return
CurveCreator_Curve::setSectionType( theISection, theType )
;
}
bool CurveCreator_Profile::addPointsInternal( const CurveCreator::SectionsMap &theSectionsMap )
}
bool CurveCreator_Profile::addPointsInternal( const CurveCreator::SectionsMap &theSectionsMap )