diff --git a/wrap/gl/shot.h b/wrap/gl/shot.h index 58a8bff7..d1e50b21 100644 --- a/wrap/gl/shot.h +++ b/wrap/gl/shot.h @@ -146,7 +146,7 @@ static ScalarType GetFarPlane(vcg::Shot & shot, vcg::Box3 farcorner; - vcg::Point3 campos = shot.Extrinsics.tra; + vcg::Point3 campos = shot.Extrinsics.Tra(); if (abs(campos.X() - bbox.max.X()) > abs(campos.X() - bbox.min.X())) farcorner.X() = bbox.max.X();