mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
Merge branch 'development' into EngineAPI-Refactor
This commit is contained in:
commit
6cf0c9e360
1933 changed files with 102328 additions and 70545 deletions
|
|
@ -1542,11 +1542,9 @@ void Entity::write(Stream &stream, U32 tabStop, U32 flags)
|
|||
if (mComponents.size() > 0)
|
||||
{
|
||||
// Pack out the behaviors into fields
|
||||
U32 i = 0;
|
||||
for (U32 i = 0; i < mComponents.size(); i++)
|
||||
{
|
||||
writeTabs(stream, tabStop + 1);
|
||||
char buffer[1024];
|
||||
dSprintf(buffer, sizeof(buffer), "new %s() {\r\n", mComponents[i]->getClassName());
|
||||
stream.write(dStrlen(buffer), buffer);
|
||||
//bi->writeFields( stream, tabStop + 2 );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue