mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 08:04:40 +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
|
#ifdef TORQUE_DEBUG
|
||||||
Con::printf("Executing %s.", scriptFileName);
|
Con::printf("Executing %s.", scriptFileName);
|
||||||
#endif
|
#endif
|
||||||
|
if (Con::gTraceOn)
|
||||||
|
Con::printf("Executing %s.", scriptFileName);
|
||||||
|
|
||||||
CodeBlock *newCodeBlock = new CodeBlock();
|
CodeBlock *newCodeBlock = new CodeBlock();
|
||||||
StringTableEntry name = StringTable->insert(scriptFileName);
|
StringTableEntry name = StringTable->insert(scriptFileName);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue