Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Issue #555: Infinite boolean state is stored in Result construction.
[modules/shaper.git]
/
src
/
Model
/
Model_ResultConstruction.cpp
diff --git
a/src/Model/Model_ResultConstruction.cpp
b/src/Model/Model_ResultConstruction.cpp
index 2a8893a7ea0de836b78b73d151bd5fb529094ae5..41e1a9b166a43771fac03ba55775eae2b17f9c5c 100644
(file)
--- a/
src/Model/Model_ResultConstruction.cpp
+++ b/
src/Model/Model_ResultConstruction.cpp
@@
-46,6
+46,7
@@
Model_ResultConstruction::Model_ResultConstruction()
{
myIsDisabled = true; // by default it is not initialized and false to be after created
myIsInHistory = true;
{
myIsDisabled = true; // by default it is not initialized and false to be after created
myIsInHistory = true;
+ myIsInfinite = false;
myFacesUpToDate = false;
setIsConcealed(false);
}
myFacesUpToDate = false;
setIsConcealed(false);
}
@@
-80,3
+81,13
@@
std::shared_ptr<GeomAPI_Face> Model_ResultConstruction::face(const int theIndex)
{
return myFaces[theIndex];
}
{
return myFaces[theIndex];
}
+
+bool Model_ResultConstruction::isInfinite()
+{
+ return myIsInfinite;
+}
+
+void Model_ResultConstruction::setInfinite(const bool theInfinite)
+{
+ myIsInfinite = theInfinite;
+}