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
Prepare version 1.2.1: quick fix for iteration 2 release
[modules/shaper.git]
/
src
/
Model
/
Model_ResultGroup.cpp
diff --git
a/src/Model/Model_ResultGroup.cpp
b/src/Model/Model_ResultGroup.cpp
index dd4ee732b7091f9823036048d326bef3f3d6f1af..87210b5c52a61ccd4b9fdf5b48a3e924e7ef9056 100644
(file)
--- a/
src/Model/Model_ResultGroup.cpp
+++ b/
src/Model/Model_ResultGroup.cpp
@@
-14,6
+14,7
@@
Model_ResultGroup::Model_ResultGroup(std::shared_ptr<ModelAPI_Data> theOwnerData)
{
Model_ResultGroup::Model_ResultGroup(std::shared_ptr<ModelAPI_Data> theOwnerData)
{
+ myIsDisabled = true; // by default it is not initialized and false to be after created
setIsConcealed(false);
myOwnerData = theOwnerData;
}
setIsConcealed(false);
myOwnerData = theOwnerData;
}
@@
-22,7
+23,7
@@
void Model_ResultGroup::initAttributes()
{
// append the color attribute. It is empty, the attribute will be filled by a request
DataPtr aData = data();
{
// append the color attribute. It is empty, the attribute will be filled by a request
DataPtr aData = data();
- aData->addAttribute(COLOR_ID(), ModelAPI_AttributeIntArray::type());
+ aData->addAttribute(COLOR_ID(), ModelAPI_AttributeIntArray::type
Id
());
}
void Model_ResultGroup::colorConfigInfo(std::string& theSection, std::string& theName,
}
void Model_ResultGroup::colorConfigInfo(std::string& theSection, std::string& theName,