mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
Merge branch 'Preview4_0' of https://github.com/TorqueGameEngines/Torque3D into BugfixQOL_20210909
This commit is contained in:
commit
dec9f54a9b
322 changed files with 10473 additions and 10241 deletions
|
|
@ -2861,17 +2861,17 @@ void WorldEditor::initPersistFields()
|
|||
//------------------------------------------------------------------------------
|
||||
// These methods are needed for the console interfaces.
|
||||
|
||||
void WorldEditor::ignoreObjClass( U32 argc, ConsoleValueRef *argv )
|
||||
void WorldEditor::ignoreObjClass( U32 argc, ConsoleValue *argv )
|
||||
{
|
||||
for(S32 i = 2; i < argc; i++)
|
||||
{
|
||||
ClassInfo::Entry * entry = getClassEntry(argv[i]);
|
||||
ClassInfo::Entry * entry = getClassEntry(argv[i].getString());
|
||||
if(entry)
|
||||
entry->mIgnoreCollision = true;
|
||||
else
|
||||
{
|
||||
entry = new ClassInfo::Entry;
|
||||
entry->mName = StringTable->insert(argv[i]);
|
||||
entry->mName = StringTable->insert(argv[i].getString());
|
||||
entry->mIgnoreCollision = true;
|
||||
if(!addClassEntry(entry))
|
||||
delete entry;
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ class WorldEditor : public EditTSCtrl
|
|||
Point3F p2;
|
||||
};
|
||||
|
||||
void ignoreObjClass(U32 argc, ConsoleValueRef* argv);
|
||||
void ignoreObjClass(U32 argc, ConsoleValue* argv);
|
||||
void clearIgnoreList();
|
||||
|
||||
static bool setObjectsUseBoxCenter( void *object, const char *index, const char *data ) { static_cast<WorldEditor*>(object)->setObjectsUseBoxCenter( dAtob( data ) ); return false; };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue