Salome HOME
projects
/
modules
/
gui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd22340
)
[EDF] GEOM : all objects of the Object Browser list hidden when hide one
V9_3_0a2
author
rnv
<rnv@opencascade.com>
Wed, 6 Mar 2019 09:18:53 +0000
(12:18 +0300)
committer
rnv
<rnv@opencascade.com>
Wed, 6 Mar 2019 09:18:53 +0000
(12:18 +0300)
src/OCCViewer/OCCViewer_ViewModel.cxx
patch
|
blob
|
history
diff --git
a/src/OCCViewer/OCCViewer_ViewModel.cxx
b/src/OCCViewer/OCCViewer_ViewModel.cxx
index 1b680e5efe7d662849f5728fef252223298cbabe..2c3f55631211992d4102bd4a9afbf41a5821b16f 100644
(file)
--- a/
src/OCCViewer/OCCViewer_ViewModel.cxx
+++ b/
src/OCCViewer/OCCViewer_ViewModel.cxx
@@
-1165,6
+1165,12
@@
bool OCCViewer_Viewer::unHighlightAll( bool updateviewer, bool unselect )
myAISContext->UnhilightSelected( updateviewer );
}
#if OCC_VERSION_LARGE <= 0x07030000
+ } else {
+ if ( unselect ) {
+ myAISContext->ClearCurrents( updateviewer );
+ } else {
+ myAISContext->UnhilightCurrents( updateviewer );
+ }
}
#endif
return false;