diff --git a/libstage/model_camera.cc b/libstage/model_camera.cc index d306c8a36..6496c2b5a 100644 --- a/libstage/model_camera.cc +++ b/libstage/model_camera.cc @@ -183,7 +183,7 @@ bool ModelCamera::GetFrame(void) float height = GetGlobalPose().z; // TODO reposition the camera so it isn't inside the model ( or don't draw the // parent when calling renderframe ) - _camera.setPose(parent->GetGlobalPose().x, parent->GetGlobalPose().y, + _camera.setPose(GetGlobalPose().x, GetGlobalPose().y, height); // TODO use something smarter than a #define - make // it configurable _camera.setYaw(rtod(parent->GetGlobalPose().a) - 90.0