From a33b35dd1ffd363750a6846f40cd53b42c87c6df Mon Sep 17 00:00:00 2001 From: isk Date: Fri, 12 Feb 2016 09:45:20 +0300 Subject: [PATCH] fix CR0002618: use Camera() instead of myCamera --- 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 7cd14eb844..26b0b72749 100644 --- a/src/V3d/V3d_View.cxx +++ b/src/V3d/V3d_View.cxx @@ -2157,9 +2157,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