ImportLDraw icon indicating copy to clipboard operation
ImportLDraw copied to clipboard

Fix light brick handling

Open cuddlyogre opened this issue 4 years ago • 2 comments

This fixes an error where importing a light brick would cause a crash because 2.8 doesn't have bpy.data.lamps. This fix uses bpy.data.lights for 2.8 and keeps bpy.data.lamps for everything else.

cuddlyogre avatar Sep 22 '19 05:09 cuddlyogre

@TobyLobster please consider having a look at this one 🙏

kasperschnack avatar Feb 22 '21 20:02 kasperschnack

For anyone that requires the fixes from this pull, I have a fork with the applied changes and a release of the addon. Addon: https://github.com/BlenderAddonsArchive/ImportLDraw Release: https://github.com/BlenderAddonsArchive/ImportLDraw/releases/tag/1.1.12

ranjian0 avatar Feb 24 '21 08:02 ranjian0

Fixed

TobyLobster avatar May 22 '23 12:05 TobyLobster