X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_OCCDisplayer.cxx;h=40256a51b2e6b54640a4812ff8cd00e5e8df8d62;hb=d6e19029f8b41f295db878e9aecf451c2edda4af;hp=1034b656a03825d95029a5a2e83d942c0e922239;hpb=439579ec24edd8b147cab07f688d446d59029a1e;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_OCCDisplayer.cxx b/src/HYDROGUI/HYDROGUI_OCCDisplayer.cxx index 1034b656..40256a51 100644 --- a/src/HYDROGUI/HYDROGUI_OCCDisplayer.cxx +++ b/src/HYDROGUI/HYDROGUI_OCCDisplayer.cxx @@ -371,7 +371,7 @@ void HYDROGUI_OCCDisplayer::SetZLayer( const OCCViewer_Viewer* theViewer, const Handle(HYDROData_Entity)& theObject, const int theZLayerId ) { - if ( !theViewer || ( theZLayerId < 0 ) ) { + if ( !theViewer /*|| ( theZLayerId < 0 )*/ ) { return; }