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
Profile object realization. OCC Viewer embeded into the profile dialog box.
[modules/hydro.git]
/
src
/
HYDROCurveCreator
/
CurveCreator_Curve.cxx
diff --git
a/src/HYDROCurveCreator/CurveCreator_Curve.cxx
b/src/HYDROCurveCreator/CurveCreator_Curve.cxx
index 824338b29055919aa2f048b9efc3a97e2ef0724e..cccf4a20302532beeecfd8c54a4e79c9cc11cbc2 100644
(file)
--- a/
src/HYDROCurveCreator/CurveCreator_Curve.cxx
+++ b/
src/HYDROCurveCreator/CurveCreator_Curve.cxx
@@
-520,20
+520,18
@@
bool CurveCreator_Curve::joinInternal( const int theISectionTo,
return res;
}
return res;
}
-//! Join range of sections to one section (join all sections if -1 is passed in
one of arguments
)
+//! Join range of sections to one section (join all sections if -1 is passed in
theISectionFrom argument
)
bool CurveCreator_Curve::join( const int theISectionTo,
const int theISectionFrom )
{
bool CurveCreator_Curve::join( const int theISectionTo,
const int theISectionFrom )
{
+ //TODO
bool res = false;
bool res = false;
- if (mySections.size() >= 2 &&
- ( theISectionTo != theISectionFrom || (theISectionTo == -1 && theISectionFrom == -1) )) {
+ if ( theISectionTo != theISectionFrom ) {
startOperation();
startOperation();
- int aISectionTo = getNbSections()-1;
- int aISectionFrom = 0;
if (addEmptyDiff())
if (addEmptyDiff())
- myListDiffs.back().init(this, CurveCreator_Operation::Join,
aISectionTo, a
ISectionFrom);
+ myListDiffs.back().init(this, CurveCreator_Operation::Join,
theISectionTo, the
ISectionFrom);
- res = joinInternal(
aISectionTo, a
ISectionFrom );
+ res = joinInternal(
theISectionTo, the
ISectionFrom );
finishOperation();
}
finishOperation();
}