MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / SelectAll

Method SelectAll

Source/Editors/map_editor.cpp:2020–2027  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2018}
2019
2020void 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
2029void MapEditor::ReloadAllPrefabs() {
2030 std::vector<Object*> prefabs;

Callers 2

InputTextExMethod · 0.45
DrawImGuiFunction · 0.45

Calls 3

GetTypeMethod · 0.45
IsTypeEnabledMethod · 0.45
SelectMethod · 0.45

Tested by

no test coverage detected