X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_ZLayers.cxx;h=ac479434cafb04f231eb35d9a8c9053b4cedfd39;hb=d6e19029f8b41f295db878e9aecf451c2edda4af;hp=edeb89d939025ccec2d6a3864a7a11f0a9184795;hpb=439579ec24edd8b147cab07f688d446d59029a1e;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_ZLayers.cxx b/src/HYDROGUI/HYDROGUI_ZLayers.cxx index edeb89d9..ac479434 100644 --- a/src/HYDROGUI/HYDROGUI_ZLayers.cxx +++ b/src/HYDROGUI/HYDROGUI_ZLayers.cxx @@ -39,7 +39,8 @@ void SetPrsZLayer( const Handle_PrsMgr_PresentableObject& thePresentableObject, void SetZLayerSettings( const Handle_V3d_Viewer& theViewer3d, int theLayerId, bool theIsOrdered ) { - if ( theViewer3d.IsNull() || theLayerId < 0 ) { + if ( theViewer3d.IsNull() /*|| theLayerId < 0*/ ) + { return; }