0026641: Visualization, TKOpenGl - handle correctly transformation persistence within...
[occt.git] / src / OpenGl / OpenGl_View.cxx
index c054675..17280c1 100644 (file)
@@ -595,7 +595,7 @@ Standard_Real OpenGl_View::considerZoomPersistenceObjects (const Graphic3d_ZLaye
                                                            const Standard_Integer          theWindowHeight,
                                                            const Standard_Boolean          theToIgnoreInfiniteFlag) const
 {
-  if (myZLayers.LayerIDs().IsBound (theLayerId) && theCamera->IsOrthographic())
+  if (myZLayers.LayerIDs().IsBound (theLayerId))
   {
     return myZLayers.Layer (theLayerId).considerZoomPersistenceObjects (Identification(),
                                                                         theCamera,