| 293 | } |
| 294 | |
| 295 | void GroupsEditor::_update_scene_groups(const ObjectID &p_id) { |
| 296 | HashMap<ObjectID, HashMap<StringName, bool>>::Iterator I = scene_groups_cache.find(p_id); |
| 297 | if (I) { |
| 298 | scene_groups = I->value; |
| 299 | scene_groups_cache.remove(I); |
| 300 | } else { |
| 301 | scene_groups = HashMap<StringName, bool>(); |
| 302 | } |
| 303 | } |
| 304 | |
| 305 | void GroupsEditor::_cache_scene_groups(const ObjectID &p_id) { |
| 306 | const int edited_scene_count = EditorNode::get_editor_data().get_edited_scene_count(); |