From a30aa7b60f2c1df47cfcb6cc3e4dfc90f5449d0f Mon Sep 17 00:00:00 2001 From: isk Date: Tue, 3 Nov 2015 07:45:08 +0300 Subject: [PATCH] Fix V3d_View::Gravity(). --- src/V3d/V3d_View.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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(); } //======================================================================= -- 2.39.5