Skip to content

Commit e8f6fbf

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents 5001465 + ffb2f40 commit e8f6fbf

File tree

1 file changed

+2
-2
lines changed
  • sceneview/src/main/java/io/github/sceneview/node

1 file changed

+2
-2
lines changed

sceneview/src/main/java/io/github/sceneview/node/ModelNode.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,10 @@ open class ModelNode(
116116
RenderableNode(modelInstance, it)
117117
}
118118
val lightNodes = modelInstance.lightEntities.map {
119-
LightNode(modelInstance, it).apply { parent = this }
119+
LightNode(modelInstance, it).apply { parent = this@ModelNode }
120120
}
121121
val cameraNodes = modelInstance.camerasEntities.map {
122-
CameraNode(modelInstance, it).apply { parent = this }
122+
CameraNode(modelInstance, it).apply { parent = this@ModelNode }
123123
}
124124
val emptyNodes = modelInstance.emptyNodeEntities.map {
125125
EmptyNode(modelInstance, it)

0 commit comments

Comments
 (0)