ImportLDraw icon indicating copy to clipboard operation
ImportLDraw copied to clipboard

Update to Blender 4.2

Open DanyaKreyg opened this issue 1 year ago • 1 comments
trafficstars

Hi! I absolutely love your extension. Would it be possible for you to update the plugin so that it could work together with blender 4.2? Would mean a world to me. Here is the Log I get when I try add the plugin into Blender 4.2 if that can help you

`Report: Error

Traceback (most recent call last): File "C:\Users\Stimpy\AppData\Local\ovpkg\blender-4.2.0-usd.02.0\Release\4.2\scripts\modules\addon_utils.py", line 376, in enable mod = importlib.import_module(module_name) File "C:\Users\Stimpy\AppData\Local\ovpkg\blender-4.2.0-usd.02.0\Release\4.2\python\Lib\importlib_init_.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1147, in _find_and_load_unlocked File "", line 690, in load_unlocked File "", line 940, in exec_module File "", line 241, in call_with_frames_removed File "C:\Users\Stimpy\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\io_scene_importldraw_init.py", line 22, in from . import importldraw File "C:\Users\Stimpy\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\io_scene_importldraw\importldraw.py", line 38, in from .loadldraw import loadldraw File "C:\Users\Stimpy\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\io_scene_importldraw\loadldraw\loadldraw.py", line 1714, in class BlenderMaterials: File "C:\Users\Stimpy\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\io_scene_importldraw\loadldraw\loadldraw.py", line 1718, in BlenderMaterials _hasPrincipledShader = "ShaderNodeBsdfPrincipled" in [node.identifier for node in getattr(bpy.types, "NODE_MT_category_SH_NEW_SHADER").category.items(None)] AttributeError: 'module' object has no attribute 'NODE_MT_category_SH_NEW_SHADER'`

DanyaKreyg avatar Aug 16 '24 13:08 DanyaKreyg