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
Fix Undo/Redo of removing of middle point.
[modules/hydro.git]
/
src
/
HYDROCurveCreator
/
CurveCreator_Operation.cxx
diff --git
a/src/HYDROCurveCreator/CurveCreator_Operation.cxx
b/src/HYDROCurveCreator/CurveCreator_Operation.cxx
index e24e2dcaa5290c8b313a2f3a3a33501845142d7a..ce73d1ccfe4abe52c9b046c0952a2aa2da5c8a15 100644
(file)
--- a/
src/HYDROCurveCreator/CurveCreator_Operation.cxx
+++ b/
src/HYDROCurveCreator/CurveCreator_Operation.cxx
@@
-304,31
+304,31
@@
void CurveCreator_Operation::apply(CurveCreator_Curve *theCurve)
{
const CurveCreator::SectionType aType = (CurveCreator::SectionType) pInt[0];
{
const CurveCreator::SectionType aType = (CurveCreator::SectionType) pInt[0];
- theCurve->setSectionType( pInt[1], aType );
+ theCurve->setSectionType
Internal
( pInt[1], aType );
}
break;
case CurveCreator_Operation::Clear:
}
break;
case CurveCreator_Operation::Clear:
- theCurve->clear();
+ theCurve->clear
Internal
();
break;
case CurveCreator_Operation::SetCoordinates:
{
CurveCreator::Coordinates aCoords;
getCoords(&pInt[2], aCoords);
break;
case CurveCreator_Operation::SetCoordinates:
{
CurveCreator::Coordinates aCoords;
getCoords(&pInt[2], aCoords);
- theCurve->setPoint(pInt[0], pInt[1], aCoords);
+ theCurve->setPoint
Internal
(pInt[0], pInt[1], aCoords);
}
break;
case CurveCreator_Operation::SetClosed:
}
break;
case CurveCreator_Operation::SetClosed:
- theCurve->setClosed((pInt[0] != 0), pInt[1]);
+ theCurve->setClosedInternal((pInt[0] != 0), pInt[1]);
+ break;
+ case CurveCreator_Operation::MoveSection:
+ theCurve->moveSectionInternal(pInt[0], pInt[1]);
break;
break;
-/* case CurveCreator_Operation::MoveSection:
- theCurve->moveSection(pInt[0], pInt[1]);
- break;*/
case CurveCreator_Operation::Join:
if (myPData == NULL) {
case CurveCreator_Operation::Join:
if (myPData == NULL) {
- theCurve->join();
+ theCurve->join
Internal
();
} else {
} else {
- theCurve->join(pInt[0], pInt[1]);
+ theCurve->join
Internal
(pInt[0], pInt[1]);
}
break;
case CurveCreator_Operation::AddSection:
}
break;
case CurveCreator_Operation::AddSection:
@@
-351,7
+351,7
@@
void CurveCreator_Operation::apply(CurveCreator_Curve *theCurve)
case CurveCreator_Operation::RenameSection:
{
std::string aName = std::string((char*)&pInt[1]);
case CurveCreator_Operation::RenameSection:
{
std::string aName = std::string((char*)&pInt[1]);
- theCurve->setSectionName(pInt[0], aName);
+ theCurve->setSectionName
Internal
(pInt[0], aName);
}
break;
default:
}
break;
default: