leomoon-studios / leomoon-lightstudio

Light Studio plugin for Blender
https://leomoon.com/store/plugins/leomoon-lightstudio/
GNU General Public License v3.0
353 stars 45 forks source link

Add light failed in blender 3.1 #62

Closed atticus-lv closed 2 years ago

atticus-lv commented 2 years ago
  File "C:\Users\atticus\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\leomoon-lightstudio-master\light_operators.py", line 331, in execute
    advanced_light_collection = [c for c in collection.children if c.name.startswith('LLS_Advanced')][0]
IndexError: list index out of range

location: <unknown location>:-1

image

leomoon commented 2 years ago

Hi,

Blender 3.1 is not final. We will fix it once the final version is out.

atticus-lv commented 2 years ago

I add some log here image

And get a result like this image It is just like the bug I report to blender before. I find it in my own addon by appending node group in a same way https://developer.blender.org/T94338

leomoon commented 2 years ago

perfect. hopefully they will fix this before the final version is out.

Thanks for the detailed info. ;)

atticus-lv commented 2 years ago

Bug fix! Addon now can be use in 3.1