1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

fix CR0002618: use Camera() instead of myCamera

This commit is contained in:
isk
2016-02-12 09:45:20 +03:00
committed by duv
parent a7dabcc955
commit a33b35dd1f

View File

@@ -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();
}
//=======================================================================