Skip to content

Commit

Permalink
Fix Add Point Light
Browse files Browse the repository at this point in the history
  • Loading branch information
kephale committed Mar 9, 2024
1 parent 3c528dd commit 731008d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/kotlin/sc/iview/commands/add/AddPointLight.kt
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ import sc.iview.commands.MenuWeights.EDIT_ADD_POINTLIGHT
)
class AddPointLight : Command {
@Parameter
private val sciView: SciView? = null
private lateinit var sciView: SciView

override fun run() {
sciView!!.addPointLight()
sciView.addPointLight()
}
}

0 comments on commit 731008d

Please sign in to comment.