Skip to content

Commit 15381a5

Browse files
authored
Freeze nodeToAdd on SceneGraphNodeAddition operation (#259)
1 parent 8f93d9f commit 15381a5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ihmc-perception/src/main/java/us/ihmc/perception/sceneGraph/modification/SceneGraphNodeAddition.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ public void performOperation()
2525
parent.getChildren().add(nodeToAdd);
2626
ensureParentFramesAreConsistent(nodeToAdd, parent);
2727
parent.freeze();
28+
nodeToAdd.freeze();
2829
}
2930

3031
/**

0 commit comments

Comments
 (0)