| 2018 | } |
| 2019 | |
| 2020 | void MapEditor::SelectAll() { |
| 2021 | for (auto obj : scenegraph_->objects_) { |
| 2022 | EntityType type = obj->GetType(); |
| 2023 | if (type_enable_.IsTypeEnabled(type) && obj->permission_flags & Object::CAN_SELECT && !obj->parent) { |
| 2024 | obj->Select(true); |
| 2025 | } |
| 2026 | } |
| 2027 | } |
| 2028 | |
| 2029 | void MapEditor::ReloadAllPrefabs() { |
| 2030 | std::vector<Object*> prefabs; |
no test coverage detected