mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 22:54:34 +00:00
Re-added prefix handling for named texture lookups for image asset fields
Changed render-out of shape preview images to use png Added filter against previewCache folder
This commit is contained in:
parent
0fa8b97f91
commit
8ed3bab44c
7 changed files with 10 additions and 20 deletions
|
|
@ -264,7 +264,7 @@ public:
|
|||
{ \
|
||||
imageAssetId = query.mAssetList[0]; \
|
||||
} \
|
||||
else if(Torque::FS::IsFile(_in)) \
|
||||
else if(Torque::FS::IsFile(_in) || (_in[0] == '$' || _in[0] == '#')) \
|
||||
{ \
|
||||
imageAssetId = ImageAsset::getAssetIdByFilename(_in); \
|
||||
if (imageAssetId == ImageAsset::smNoImageAssetFallback) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue