Skip to content

Commit 1cb20cf

Browse files
authored
Merge pull request #1 from megaes/master
fix: LightManager.create() didn't return value
2 parents 7c4159e + 6e2aa6e commit 1cb20cf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lightManager/lightManager.py

+2
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,8 @@ def createLight(self, lightType=None, add=True):
522522
if add:
523523
self.addLight(light)
524524

525+
return light
526+
525527
def addLight(self, light):
526528
# This will create a LightWidget for the given light and add it to the UI
527529
# First we create the LightWidget

0 commit comments

Comments
 (0)