mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Disables generation of the materials script files by the internal shape import processor. Material script files are now only generated by the AssetImporter as part of the shape injest process.
Renames validateImportingAssets to hasImportIssues for AssetImporter console method for clarity Updated console method documentation for AssetImporter methods Fixed logical error for material asset generation if the import config was set to use existing materials but one was not found. Fixed logical error when a shapeFile has a material with a texture mapped to it is not in the same directory as the shape, it would not correctly find the texture Adjusts AssetImport window logic so it will display the window in the event of import issues being detected, or the asset is being re-imported. Updates the AssetImport window activity log to use the new AssetImporter's log for consistency.
This commit is contained in:
parent
4d56b34bbb
commit
b3cd08520e
6 changed files with 64 additions and 99 deletions
|
|
@ -425,6 +425,7 @@ bool AssimpShapeLoader::fillGuiTreeView(const char* sourceShapePath, GuiTreeView
|
|||
|
||||
void AssimpShapeLoader::updateMaterialsScript(const Torque::Path &path)
|
||||
{
|
||||
return;
|
||||
Torque::Path scriptPath(path);
|
||||
scriptPath.setFileName("materials");
|
||||
scriptPath.setExtension(TORQUE_SCRIPT_EXTENSION);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue