Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Crash on QStack top() call without the empty of the stack check.
[modules/hydro.git]
/
src
/
HYDROGUI
/
HYDROGUI_OCCDisplayer.cxx
diff --git
a/src/HYDROGUI/HYDROGUI_OCCDisplayer.cxx
b/src/HYDROGUI/HYDROGUI_OCCDisplayer.cxx
index 14715ec82d069a81d270b1368d8110ecc98a2a1e..64ef551a60a040790e96827bb0cdf8c31a4715ab 100644
(file)
--- a/
src/HYDROGUI/HYDROGUI_OCCDisplayer.cxx
+++ b/
src/HYDROGUI/HYDROGUI_OCCDisplayer.cxx
@@
-80,9
+80,9
@@
int HYDROGUI_OCCDisplayer::AddTopZLayer( OCCViewer_ViewManager* theMgr )
Standard_Integer aNewId = -1;
if ( aViewer->getViewer3d()->AddZLayer( aNewId ) )
- a
Z
Layer = aNewId;
+ aLayer = aNewId;
- return a
Z
Layer;
+ return aLayer;
}
void HYDROGUI_OCCDisplayer::RemoveZLayer( OCCViewer_ViewManager* theMgr,