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 #2741: Undo of distance argument change produces crash
[modules/shaper.git]
/
src
/
FeaturesAPI
/
FeaturesAPI_BooleanFuse.cpp
diff --git
a/src/FeaturesAPI/FeaturesAPI_BooleanFuse.cpp
b/src/FeaturesAPI/FeaturesAPI_BooleanFuse.cpp
index d92cd797673014dcf984cc385c7aae5191fb2393..6d837663c87152033b91e77626d9f3ee00aa82c0 100644
(file)
--- a/
src/FeaturesAPI/FeaturesAPI_BooleanFuse.cpp
+++ b/
src/FeaturesAPI/FeaturesAPI_BooleanFuse.cpp
@@
-85,6
+85,7
@@
void FeaturesAPI_BooleanFuse::setMainObjects(
void FeaturesAPI_BooleanFuse::setToolObjects(
const std::list<ModelHighAPI_Selection>& theToolObjects)
{
void FeaturesAPI_BooleanFuse::setToolObjects(
const std::list<ModelHighAPI_Selection>& theToolObjects)
{
+ fillAttribute(FeaturesPlugin_BooleanFuse::CREATION_METHOD_ADVANCED(), mycreationMethod);
fillAttribute(theToolObjects, mytoolObjects);
execute();
fillAttribute(theToolObjects, mytoolObjects);
execute();
@@
-106,6
+107,8
@@
void FeaturesAPI_BooleanFuse::setAdvancedMode(const bool theMode)
} else {
fillAttribute(FeaturesPlugin_BooleanFuse::CREATION_METHOD_SIMPLE(), mycreationMethod);
}
} else {
fillAttribute(FeaturesPlugin_BooleanFuse::CREATION_METHOD_SIMPLE(), mycreationMethod);
}
+
+ execute();
}
//==================================================================================================
}
//==================================================================================================