Skip to content

Commit 2053f8d

Browse files
committed
Merge pull request #106343 from timothyqiu/scene-tree-unused
Remove unused `SceneTree::make_group_changed`
2 parents 1c4b660 + 51a063d commit 2053f8d

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

scene/main/scene_tree.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -186,14 +186,6 @@ void SceneTree::remove_from_group(const StringName &p_group, Node *p_node) {
186186
}
187187
}
188188

189-
void SceneTree::make_group_changed(const StringName &p_group) {
190-
_THREAD_SAFE_METHOD_
191-
HashMap<StringName, Group>::Iterator E = group_map.find(p_group);
192-
if (E) {
193-
E->value.changed = true;
194-
}
195-
}
196-
197189
void SceneTree::flush_transform_notifications() {
198190
_THREAD_SAFE_METHOD_
199191

scene/main/scene_tree.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,6 @@ class SceneTree : public MainLoop {
227227

228228
Group *add_to_group(const StringName &p_group, Node *p_node);
229229
void remove_from_group(const StringName &p_group, Node *p_node);
230-
void make_group_changed(const StringName &p_group);
231230

232231
void _process_group(ProcessGroup *p_group, bool p_physics);
233232
void _process_groups_thread(uint32_t p_index, bool p_physics);

0 commit comments

Comments
 (0)