mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-22 16:13:45 +00:00
* [Material Editor] BugFix: Correct case sensitivity errors on the model previews when running on case sensitive systems (Ie. Linux).
This commit is contained in:
parent
9dd9e9fae5
commit
8d4d4b7588
1 changed files with 6 additions and 6 deletions
|
|
@ -387,32 +387,32 @@ function MaterialEditorGui::updatePreviewObject(%this)
|
|||
{
|
||||
case "sphere":
|
||||
matEd_quickPreview_Popup.selected = %newModel;
|
||||
matEd_previewObjectView.setModel("tools/materialEditor/gui/spherePreview.dts");
|
||||
matEd_previewObjectView.setModel("tools/materialEditor/gui/spherepreview.dts");
|
||||
matEd_previewObjectView.setOrbitDistance(4);
|
||||
|
||||
case "cube":
|
||||
matEd_quickPreview_Popup.selected = %newModel;
|
||||
matEd_previewObjectView.setModel("tools/materialEditor/gui/cubePreview.dts");
|
||||
matEd_previewObjectView.setModel("tools/materialEditor/gui/cubepreview.dts");
|
||||
matEd_previewObjectView.setOrbitDistance(5);
|
||||
|
||||
case "pyramid":
|
||||
matEd_quickPreview_Popup.selected = %newModel;
|
||||
matEd_previewObjectView.setModel("tools/materialEditor/gui/pyramidPreview.dts");
|
||||
matEd_previewObjectView.setModel("tools/materialEditor/gui/pyramidpreview.dts");
|
||||
matEd_previewObjectView.setOrbitDistance(5);
|
||||
|
||||
case "cylinder":
|
||||
matEd_quickPreview_Popup.selected = %newModel;
|
||||
matEd_previewObjectView.setModel("tools/materialEditor/gui/cylinderPreview.dts");
|
||||
matEd_previewObjectView.setModel("tools/materialEditor/gui/cylinderpreview.dts");
|
||||
matEd_previewObjectView.setOrbitDistance(4.2);
|
||||
|
||||
case "torus":
|
||||
matEd_quickPreview_Popup.selected = %newModel;
|
||||
matEd_previewObjectView.setModel("tools/materialEditor/gui/torusPreview.dts");
|
||||
matEd_previewObjectView.setModel("tools/materialEditor/gui/toruspreview.dts");
|
||||
matEd_previewObjectView.setOrbitDistance(4.2);
|
||||
|
||||
case "knot":
|
||||
matEd_quickPreview_Popup.selected = %newModel;
|
||||
matEd_previewObjectView.setModel("tools/materialEditor/gui/torusknotPreview.dts");
|
||||
matEd_previewObjectView.setModel("tools/materialEditor/gui/torusknotpreview.dts");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue