mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-31 01:55:15 +00:00
Merge pull request #530 from Ragora/bugfix-material-editor-pathing
* [Material Editor] BugFix: Correct case sensitivity errors on the model previews when running on case sensitive systems (Ie. Linux).
This commit is contained in:
commit
f43619b994
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