mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 15:44:36 +00:00
Fix stack overflow
This commit is contained in:
parent
2da474c484
commit
694dd4abfa
1 changed files with 0 additions and 2 deletions
|
|
@ -618,14 +618,12 @@ void GuiTSCtrl::onRender(Point2I offset, const RectI &updateRect)
|
||||||
// Use the view matrix determined from the display device
|
// Use the view matrix determined from the display device
|
||||||
myTransforms[0] = mLastCameraQuery.eyeTransforms[0];
|
myTransforms[0] = mLastCameraQuery.eyeTransforms[0];
|
||||||
myTransforms[1] = mLastCameraQuery.eyeTransforms[1];
|
myTransforms[1] = mLastCameraQuery.eyeTransforms[1];
|
||||||
myTransforms[2] = mLastCameraQuery.cameraMatrix;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Use the view matrix determined from the control object
|
// Use the view matrix determined from the control object
|
||||||
myTransforms[0] = mLastCameraQuery.cameraMatrix;
|
myTransforms[0] = mLastCameraQuery.cameraMatrix;
|
||||||
myTransforms[1] = mLastCameraQuery.cameraMatrix;
|
myTransforms[1] = mLastCameraQuery.cameraMatrix;
|
||||||
myTransforms[2] = mLastCameraQuery.cameraMatrix;
|
|
||||||
|
|
||||||
QuatF qrot = mLastCameraQuery.cameraMatrix;
|
QuatF qrot = mLastCameraQuery.cameraMatrix;
|
||||||
Point3F pos = mLastCameraQuery.cameraMatrix.getPosition();
|
Point3F pos = mLastCameraQuery.cameraMatrix.getPosition();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue