The_Lightmapper icon indicating copy to clipboard operation
The_Lightmapper copied to clipboard

Lightmapper broken by default

Open rpaladin opened this issue 1 year ago • 1 comments

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 avatar Nov 08 '22 00:11 rpaladin

@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.

rpaladin avatar Apr 14 '23 00:04 rpaladin