Naxela / The_Lightmapper

Fast and easy baked GI Lightmaps for Blender and Cycles
GNU General Public License v3.0
719 stars 53 forks source link

Lightmapper broken by default #160

Open rpaladin opened 2 years ago

rpaladin commented 2 years ago
Traceback (most recent call last):
  File "D:\Blender\Projects\RP\B3D_33\armsdk/armory\blender\arm\props_bake.py", line 160, in execute
    img = bpy.data.images.new(img_name, rx, ry)
TypeError: BlendDataImages.new(): error with argument 2, "width" -  Function.width expected an int type, not float
Info: Once baked, hit 'Armory Bake - Apply' to pack lightmaps
Error: Python: Traceback (most recent call last):
  File "D:\Blender\Projects\RP\B3D_33\armsdk/armory\blender\arm\props_bake.py", line 160, in execute
    img = bpy.data.images.new(img_name, rx, ry)
TypeError: BlendDataImages.new(): error with argument 2, "width" -  Function.width expected an int type, not float
rpaladin commented 1 year ago

@Naxela should this issue be closed, since this seems to be on the Armory side? At the time of this issue tracker's creation, had I mistakenly thought this add-on and the one that ships with Armory are the same, even though they're not, so if this issue is still relevant, this issue should be in the Armory repository.