mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 06:34:36 +00:00
Changes the creation of new materials in the material editor to go through the new asset interface, which ensures the creation is standardized across the board.
This commit is contained in:
parent
2198dd14d1
commit
532200ff43
2 changed files with 6 additions and 31 deletions
|
|
@ -14,7 +14,6 @@ function AssetBrowser::createMaterialAsset(%this)
|
|||
AssetName = %assetName;
|
||||
versionId = 1;
|
||||
materialDefinitionName = %assetName;
|
||||
scriptFile = %assetName @ "." @ $TorqueScriptFileExtension;
|
||||
|
||||
new Material(%assetName) {
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue