mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-01 11:33:48 +00:00
Console Refactor
This commit is contained in:
parent
626de074cc
commit
89b0c7f73b
89 changed files with 1883 additions and 1553 deletions
|
|
@ -31,6 +31,7 @@
|
|||
#include "console/consoleTypes.h"
|
||||
#include "core/volume.h"
|
||||
#include "console/engineAPI.h"
|
||||
#include "console/script.h"
|
||||
#include "T3D/physics/physicsShape.h"
|
||||
#include "core/util/path.h"
|
||||
|
||||
|
|
@ -344,7 +345,7 @@ void Prefab::_loadFile( bool addFileNotify )
|
|||
if ( mFilename == StringTable->EmptyString())
|
||||
return;
|
||||
|
||||
if ( !Torque::FS::IsScriptFile( mFilename ) )
|
||||
if ( !Con::isScriptFile( mFilename ) )
|
||||
{
|
||||
Con::errorf( "Prefab::_loadFile() - file %s was not found.", mFilename );
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue