mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Merge pull request #1613 from Azaezel/alpha41/fileExecTrace
add executing file reporting to the trace(true/false) script command
This commit is contained in:
commit
50ee9606bf
|
|
@ -402,6 +402,8 @@ namespace TorqueScript
|
|||
#ifdef TORQUE_DEBUG
|
||||
Con::printf("Executing %s.", scriptFileName);
|
||||
#endif
|
||||
if (Con::gTraceOn)
|
||||
Con::printf("Executing %s.", scriptFileName);
|
||||
|
||||
CodeBlock *newCodeBlock = new CodeBlock();
|
||||
StringTableEntry name = StringTable->insert(scriptFileName);
|
||||
|
|
|
|||
Loading…
Reference in a new issue