mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
Merge branch 'development' into style-cleanup
Conflicts: Engine/source/console/astNodes.cpp Engine/source/console/codeBlock.cpp Engine/source/console/compiledEval.cpp Engine/source/ts/collada/colladaAppMesh.cpp Engine/source/ts/tsShape.cpp Engine/source/ts/tsShapeConstruct.cpp
This commit is contained in:
commit
33ff180593
2053 changed files with 172002 additions and 69530 deletions
|
|
@ -123,7 +123,7 @@ SimObject::~SimObject()
|
|||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
bool SimObject::processArguments(S32 argc, const char**argv)
|
||||
bool SimObject::processArguments(S32 argc, ConsoleValueRef *argv)
|
||||
{
|
||||
return argc == 0;
|
||||
}
|
||||
|
|
@ -2680,11 +2680,12 @@ DefineConsoleMethod( SimObject, getDynamicField, const char*, ( S32 index ),,
|
|||
++itr;
|
||||
}
|
||||
|
||||
char* buffer = Con::getReturnBuffer(256);
|
||||
static const U32 bufSize = 256;
|
||||
char* buffer = Con::getReturnBuffer(bufSize);
|
||||
if (*itr)
|
||||
{
|
||||
SimFieldDictionary::Entry* entry = *itr;
|
||||
dSprintf(buffer, 256, "%s\t%s", entry->slotName, entry->value);
|
||||
dSprintf(buffer, bufSize, "%s\t%s", entry->slotName, entry->value);
|
||||
return buffer;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue