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:
@@ -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();
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
|
Reference in New Issue
Block a user