We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77dcf97 commit d328cbdCopy full SHA for d328cbd
scene/debugger/scene_debugger.cpp
@@ -509,10 +509,16 @@ SceneDebuggerTree::SceneDebuggerTree(Node *p_root) {
509
bool is_root = true;
510
const StringName &is_visible_sn = SNAME("is_visible");
511
const StringName &is_visible_in_tree_sn = SNAME("is_visible_in_tree");
512
+ const StringName &exclude_meta_key = SNAME("_scene_debugger_tree_branch_exclude_");
513
+
514
while (stack.size()) {
515
Node *n = stack.front()->get();
516
stack.pop_front();
517
518
+ if (n->has_meta(exclude_meta_key)) {
519
+ continue;
520
+ }
521
522
int count = n->get_child_count();
523
for (int i = 0; i < count; i++) {
524
stack.push_front(n->get_child(count - i - 1));
0 commit comments