|
@@ -231,20 +231,13 @@ void SimSet::scriptSort( const String &scriptCallbackFn )
|
|
|
|
|
|
void SimSet::callOnChildren( const String &method, S32 argc, ConsoleValue argv[], bool executeOnChildGroups )
|
|
void SimSet::callOnChildren( const String &method, S32 argc, ConsoleValue argv[], bool executeOnChildGroups )
|
|
{
|
|
{
|
|
- // TODO(JTH): Implement
|
|
|
|
- AssertISV(false, "TODO Implement");
|
|
|
|
- return;
|
|
|
|
-
|
|
|
|
- /*
|
|
|
|
// Prep the arguments for the console exec...
|
|
// Prep the arguments for the console exec...
|
|
// Make sure and leave args[1] empty.
|
|
// Make sure and leave args[1] empty.
|
|
ConsoleValue args[21] = { };
|
|
ConsoleValue args[21] = { };
|
|
- ConsoleValue name_method;
|
|
|
|
- name_method.setStackStringValue(method.c_str());
|
|
|
|
- args[0] = ConsoleValueRef::fromValue(&name_method);
|
|
|
|
|
|
+ args[0].setString(method.c_str());
|
|
|
|
|
|
for (S32 i = 0; i < argc; i++)
|
|
for (S32 i = 0; i < argc; i++)
|
|
- args[i + 2] = argv[i];
|
|
|
|
|
|
+ args[i + 2].setString(argv[i].getString());
|
|
|
|
|
|
for( iterator i = begin(); i != end(); i++ )
|
|
for( iterator i = begin(); i != end(); i++ )
|
|
{
|
|
{
|
|
@@ -260,7 +253,6 @@ void SimSet::callOnChildren( const String &method, S32 argc, ConsoleValue argv[]
|
|
childSet->callOnChildren( method, argc, argv, executeOnChildGroups );
|
|
childSet->callOnChildren( method, argc, argv, executeOnChildGroups );
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- */
|
|
|
|
}
|
|
}
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
//-----------------------------------------------------------------------------
|