mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
various fixes around preview assets and imageassets text field
Imageasset text field now displays correctly in inspector previews now use assets again assetBrowser hides previewCache folder
This commit is contained in:
parent
dfbfe094bb
commit
50f74368b3
6 changed files with 121 additions and 35 deletions
|
|
@ -2226,6 +2226,23 @@ bool stripRepeatSlashes(char* pDstPath, const char* pSrcPath, S32 dstSize)
|
|||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
DefineEngineFunction(expandPath, const char*, (const char* path),, "(string path) - Expands an expando or relative path into a full path.")
|
||||
{
|
||||
char* ret = Con::getReturnBuffer(1024);
|
||||
Con::expandPath(ret, 1024, path);
|
||||
return ret;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
DefineEngineFunction(collapsePath, const char*, (const char* path), , "(string path) - Collapses a path into either an expando path or a relative path.")
|
||||
{
|
||||
char* ret = Con::getReturnBuffer(1024);
|
||||
Con::collapsePath(ret, 1024, path);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
DefineEngineFunction( log, void, ( const char* message ),,
|
||||
"@brief Logs a message to the console.\n\n"
|
||||
"@param message The message text.\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue