Real Snow: Fails in Blender 4.0 due to Principled BSDF changes #105040

Closed
opened 2023-12-02 21:15:34 +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.1.0 Alpha, branch: main, commit date: 2023-12-01 19:40, hash: a7afc5b1e8dd
Broken: version: 4.0.1, branch: blender-v4.0-release, commit date: 2023-11-16 16:40, hash: d0dd92834a08
Worked: 3.6.x

It looks like this addon points to an upstream repo. And this issue is also being tracked there with no indication of movement:
https://gitlab.com/marcopavanello/real-snow/-/issues/2
https://gitlab.com/marcopavanello/real-snow/-/issues/3

Addon Information
Name: Real Snow (1, 3)
Author: Marco Pavanello, Drew Perttula

Short description of error
The Real Snow addon needs updating to changes in Blender 4.x

Exact steps for others to reproduce the error

  • Enable the Real Snow addon
  • Select the default Cube
  • Open the n-panel and click "Add Snow" from the Real Snow tab
Traceback (most recent call last):
  File "T:\blender-4.1.0-alpha+main.2023-12-01.a7afc5b1e8dd\4.1\scripts\addons\real_snow.py", line 118, in execute
    add_material(snow)
  File "T:\blender-4.1.0-alpha+main.2023-12-01.a7afc5b1e8dd\4.1\scripts\addons\real_snow.py", line 281, in add_material
    principled.inputs[2].default_value[0] = 0.36
TypeError: 'float' object does not support item assignment
Error: Python: Traceback (most recent call last):
  File "T:\blender-4.1.0-alpha+main.2023-12-01.a7afc5b1e8dd\4.1\scripts\addons\real_snow.py", line 118, in execute
    add_material(snow)
  File "T:\blender-4.1.0-alpha+main.2023-12-01.a7afc5b1e8dd\4.1\scripts\addons\real_snow.py", line 281, in add_material
    principled.inputs[2].default_value[0] = 0.36
TypeError: 'float' object does not support item assignment

Originally blender/blender#115707

**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.1.0 Alpha, branch: main, commit date: 2023-12-01 19:40, hash: `a7afc5b1e8dd` Broken: version: 4.0.1, branch: blender-v4.0-release, commit date: 2023-11-16 16:40, hash: `d0dd92834a08` Worked: 3.6.x It looks like this addon points to an upstream repo. And this issue is also being tracked there with no indication of movement: https://gitlab.com/marcopavanello/real-snow/-/issues/2 https://gitlab.com/marcopavanello/real-snow/-/issues/3 **Addon Information** Name: Real Snow (1, 3) Author: Marco Pavanello, Drew Perttula **Short description of error** The Real Snow addon needs updating to changes in Blender 4.x **Exact steps for others to reproduce the error** - Enable the Real Snow addon - Select the default Cube - Open the n-panel and click "Add Snow" from the Real Snow tab ``` Traceback (most recent call last): File "T:\blender-4.1.0-alpha+main.2023-12-01.a7afc5b1e8dd\4.1\scripts\addons\real_snow.py", line 118, in execute add_material(snow) File "T:\blender-4.1.0-alpha+main.2023-12-01.a7afc5b1e8dd\4.1\scripts\addons\real_snow.py", line 281, in add_material principled.inputs[2].default_value[0] = 0.36 TypeError: 'float' object does not support item assignment Error: Python: Traceback (most recent call last): File "T:\blender-4.1.0-alpha+main.2023-12-01.a7afc5b1e8dd\4.1\scripts\addons\real_snow.py", line 118, in execute add_material(snow) File "T:\blender-4.1.0-alpha+main.2023-12-01.a7afc5b1e8dd\4.1\scripts\addons\real_snow.py", line 281, in add_material principled.inputs[2].default_value[0] = 0.36 TypeError: 'float' object does not support item assignment ``` Originally https://projects.blender.org/blender/blender/issues/115707
Jesse Yurkovich added the
Status
Needs Triage
Priority
Normal
Type
Report
labels 2023-12-02 21:15:34 +01:00
Jesse Yurkovich added
Status
Confirmed
and removed
Status
Needs Triage
labels 2023-12-02 21:45:00 +01:00
Blender Bot added
Status
Resolved
and removed
Status
Confirmed
labels 2023-12-04 17:49:50 +01:00
Brecht Van Lommel added
Type
Bug
and removed
Type
Report
labels 2023-12-11 16:01:01 +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#105040
No description provided.