Archimesh - Crash when add "Rail Windows" - uses old Glossy distribution enum value #104981

Closed
opened 2023-11-02 00:41:56 +01:00 by Jesse Yurkovich · 0 comments

System Information
Operating system: Windows-10-10.0.22621-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 4090/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 528.24

Blender Version
Broken: version: 4.0.0 Beta, branch: blender-v4.0-release, commit date: 2023-10-27 13:13, hash: b0a032e2eb0a
Worked: (newest version of Blender that worked as expected)

Addon Information
Name: Archimesh (1, 2, 5)
Author: Antonio Vazquez (antonioya)

Short description of error
The SHARP value is no longer a valid distribution value.

Exact steps for others to reproduce the error

  • Enable addon
  • Click "Rail Windows" in the Archimesh n-panel
  File "T:\blender-4.0.0-beta+v40.2023-10-27.b0a032e2eb0a\4.0\scripts\addons\archimesh\achm_tools.py", line 463, in create_glass_material
    node.distribution = 'SHARP'
TypeError: bpy_struct: item.attr = val: enum "SHARP" not found in ('BECKMANN', 'GGX', 'ASHIKHMIN_SHIRLEY', 'MULTI_GGX')

Originally filed as blender/blender#114383

**System Information** Operating system: Windows-10-10.0.22621-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 4090/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 528.24 **Blender Version** Broken: version: 4.0.0 Beta, branch: blender-v4.0-release, commit date: 2023-10-27 13:13, hash: `b0a032e2eb0a` Worked: (newest version of Blender that worked as expected) **Addon Information** Name: Archimesh (1, 2, 5) Author: Antonio Vazquez (antonioya) **Short description of error** The `SHARP` value is no longer a valid `distribution` value. **Exact steps for others to reproduce the error** - Enable addon - Click "Rail Windows" in the Archimesh n-panel ``` File "T:\blender-4.0.0-beta+v40.2023-10-27.b0a032e2eb0a\4.0\scripts\addons\archimesh\achm_tools.py", line 463, in create_glass_material node.distribution = 'SHARP' TypeError: bpy_struct: item.attr = val: enum "SHARP" not found in ('BECKMANN', 'GGX', 'ASHIKHMIN_SHIRLEY', 'MULTI_GGX') ``` Originally filed as https://projects.blender.org/blender/blender/issues/114383
Jesse Yurkovich added the
Status
Needs Triage
Priority
Normal
Type
Report
labels 2023-11-02 00:41:56 +01:00
Jesse Yurkovich added
Status
Confirmed
and removed
Status
Needs Triage
labels 2023-11-02 07:40:34 +01:00
Blender Bot added
Status
Resolved
and removed
Status
Confirmed
labels 2023-11-07 09:36:32 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#104981
No description provided.