mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-29 16:25:42 +00:00
Update guiMaterialPreview.cpp
more "fixes"
This commit is contained in:
parent
291c5c75b6
commit
e7a7935bd4
1 changed files with 3 additions and 0 deletions
|
|
@ -372,6 +372,9 @@ void GuiMaterialPreview::renderWorld(const RectI &updateRect)
|
||||||
mSaveFrustum = Frustum( isOrtho, left, right, bottom, top, nearPlane, farPlane, MatrixF::Identity );
|
mSaveFrustum = Frustum( isOrtho, left, right, bottom, top, nearPlane, farPlane, MatrixF::Identity );
|
||||||
mSaveFrustum.setTransform(MatrixF::Identity);
|
mSaveFrustum.setTransform(MatrixF::Identity);
|
||||||
|
|
||||||
|
mSaveProjection = GFX->getProjectionMatrix();
|
||||||
|
mSaveWorldToScreenScale = GFX->getWorldToScreenScale();
|
||||||
|
|
||||||
FogData savedFogData = gClientSceneGraph->getFogData();
|
FogData savedFogData = gClientSceneGraph->getFogData();
|
||||||
gClientSceneGraph->setFogData( FogData() ); // no fog in preview window
|
gClientSceneGraph->setFogData( FogData() ); // no fog in preview window
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue