Salome HOME
projects
/
modules
/
shaper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
475ebbd
)
Fix for the issue #2818 : Application errors when cancel sketch operation
author
mpv
<mpv@opencascade.com>
Mon, 17 Dec 2018 10:12:07 +0000
(13:12 +0300)
committer
mpv
<mpv@opencascade.com>
Mon, 17 Dec 2018 10:13:06 +0000
(13:13 +0300)
src/Model/Model_Document.cpp
patch
|
blob
|
history
diff --git
a/src/Model/Model_Document.cpp
b/src/Model/Model_Document.cpp
index 6b8eaffd04a09c33e741d1d5b4e5f588ec039921..37e6b8bac9e00698b70c410b9cbe912aa2e34183 100755
(executable)
--- a/
src/Model/Model_Document.cpp
+++ b/
src/Model/Model_Document.cpp
@@
-1046,7
+1046,7
@@
void Model_Document::removeFeature(FeaturePtr theFeature)
{
myObjs->removeFeature(theFeature);
// fix for #2723: send signal that part is updated
- if (!isRoot()) {
+ if (!isRoot()
&& isOperation()
) {
std::shared_ptr<Model_Document> aRoot =
std::dynamic_pointer_cast<Model_Document>(ModelAPI_Session::get()->moduleDocument());
std::list<ResultPtr> allParts;