We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5001465 + ffb2f40 commit e8f6fbfCopy full SHA for e8f6fbf
sceneview/src/main/java/io/github/sceneview/node/ModelNode.kt
@@ -116,10 +116,10 @@ open class ModelNode(
116
RenderableNode(modelInstance, it)
117
}
118
val lightNodes = modelInstance.lightEntities.map {
119
- LightNode(modelInstance, it).apply { parent = this }
+ LightNode(modelInstance, it).apply { parent = this@ModelNode }
120
121
val cameraNodes = modelInstance.camerasEntities.map {
122
- CameraNode(modelInstance, it).apply { parent = this }
+ CameraNode(modelInstance, it).apply { parent = this@ModelNode }
123
124
val emptyNodes = modelInstance.emptyNodeEntities.map {
125
EmptyNode(modelInstance, it)
0 commit comments