LorenzWieseke / GLBTextureTools

MIT License
9 stars 3 forks source link

UI List for Lightmaps broken #3

Closed LorenzWieseke closed 3 years ago

LorenzWieseke commented 4 years ago

Start fresh scene, add material, add noise node to it and bake pbr

Traceback (most recent call last): File "C:\Users\wiese\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\GLBTextureTools\Functions\visibility_functions.py", line 44, in preview_bake_texture if bake_texture_node is not None: UnboundLocalError: local variable 'bake_texture_node' referenced before assignment File "C:\Users\wiese\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\GLBTextureTools\Functions\visibility_functions.py", line 28, in preview_bake_texture WARN (bpy.rna): C:\b\buildbot-worker-windows\windows_lts_283\blender.git\source\blender\python\intern\bpy_rna.c:1479 pyrna_enum_to_py: current value '0' matches no enum in 'GTT_Bake_Settings', '', 'lightmap_bakes' Info: Baking map saved to internal image, save it externally or pack it