| 2865 | // These methods are needed for the console interfaces. |
| 2866 | |
| 2867 | void WorldEditor::ignoreObjClass( U32 argc, ConsoleValue *argv ) |
| 2868 | { |
| 2869 | for(S32 i = 2; i < argc; i++) |
| 2870 | { |
| 2871 | ClassInfo::Entry * entry = getClassEntry(argv[i].getString()); |
| 2872 | if(entry) |
| 2873 | entry->mIgnoreCollision = true; |
| 2874 | else |
| 2875 | { |
| 2876 | entry = new ClassInfo::Entry; |
| 2877 | entry->mName = StringTable->insert(argv[i].getString()); |
| 2878 | entry->mIgnoreCollision = true; |
| 2879 | if(!addClassEntry(entry)) |
| 2880 | delete entry; |
| 2881 | } |
| 2882 | } |
| 2883 | } |
| 2884 | |
| 2885 | void WorldEditor::clearIgnoreList() |
| 2886 | { |
no test coverage detected