Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 8d8340c

Browse files
committed
Fix node child update
1 parent 5745629 commit 8d8340c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

impeller/scene/node.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ bool Node::AddChild(Node node) {
104104
children_.push_back(std::move(node));
105105

106106
Node& ref = children_.back();
107-
for (Node& child : node.children_) {
107+
for (Node& child : ref.children_) {
108108
child.parent_ = &ref;
109109
}
110110

0 commit comments

Comments
 (0)