From: isk Date: Tue, 3 Nov 2015 04:45:08 +0000 (+0300) Subject: Fix V3d_View::Gravity(). X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=a30aa7b60f2c1df47cfcb6cc3e4dfc90f5449d0f;p=occt-copy.git Fix V3d_View::Gravity(). --- diff --git a/src/V3d/V3d_View.cxx b/src/V3d/V3d_View.cxx index ff1ebb3732..cd740b43c0 100644 --- a/src/V3d/V3d_View.cxx +++ b/src/V3d/V3d_View.cxx @@ -2163,9 +2163,9 @@ void V3d_View::Gravity (Standard_Real& theX, Standard_Real& theY, Standard_Real& theZ) const { - theX = myCamera->Center().X(); - theY = myCamera->Center().Y(); - theZ = myCamera->Center().Z(); + theX = Camera()->Center().X(); + theY = Camera()->Center().Y(); + theZ = Camera()->Center().Z(); } //=======================================================================