mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 19:53:48 +00:00
add executing file reporting to the trace(true/false) script command
This commit is contained in:
parent
9f29bee45f
commit
f78f3606b5
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue