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 #2811: Update content of Object node on creation moment
[modules/shaper.git]
/
src
/
Selector
/
Selector_Algo.cpp
diff --git
a/src/Selector/Selector_Algo.cpp
b/src/Selector/Selector_Algo.cpp
index ca141637f7866829d2a0cffacf7e64cc0ba395f5..9a387d1f0cd4533b63e6fbae4c3eb515912695df 100644
(file)
--- a/
src/Selector/Selector_Algo.cpp
+++ b/
src/Selector/Selector_Algo.cpp
@@
-417,6
+417,7
@@
Selector_Algo* Selector_Algo::restoreByName(TDF_Label theLab, TDF_Label theBaseD
void Selector_Algo::storeType(const Selector_Type theType)
{
+ myLab.ForgetAllAttributes(true);
TDataStd_Integer::Set(myLab, kSEL_TYPE, (int)(theType));
if (myGeometricalNaming)
TDataStd_UAttribute::Set(myLab, kGEOMETRICAL_NAMING);