Node Wrangler Addon's "Connect to Cycles Viewer Node" broken In EEVEE by rBA8130de948d78 #73768

Closed
opened 2020-02-12 22:02:08 +01:00 by Evan Wilson · 6 comments
Member

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 470/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 388.13

Blender Version
Broken: version: 2.83 (sub 2), branch: master, commit date: 2020-02-12 19:49, hash: blender/blender@9fe469c110
Worked: before 8130de948d

Short description of error
When using EEVEE and the Node Wrangler Addon, Ctrl Shift LMB to connect nodes to the Viewer Node only work on Shader Nodes. All other node types return this error instead:

File "C:\blender-git\build_windows_x64_vc16_Release\bin\Release\2.83\scripts\addons\node_wrangler.py", line 1709, in invoke
intensity /= pow(2, (context.scene.view_settings.exposure)) # CM exposure is measured in stops/EVs (2^x)

UnboundLocalError: local variable 'intensity' referenced before assignment

location: <unknown location>:-1```

Relevant code, lines 1706 and 1708 are new as of 8130de948d

1706 if context.scene.render.engine == 'CYCLES' and hasattr(context.scene, 'cycles'):
1707 intensity = 1/context.scene.cycles.film_exposure # Film exposure is a multiplier
1708
1709 intensity /= pow(2, (context.scene.view_settings.exposure)) # CM exposure is measured in stops/EVs (2^x)```

Exact steps for others to reproduce the error
Start Blender.
Make sure Node Wrangler is enabled.
Add a material to an object in the shader editor.
Add any node type except shader.
Ctrl Shift LMB on the node.

**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: GeForce GTX 470/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 388.13 **Blender Version** Broken: version: 2.83 (sub 2), branch: master, commit date: 2020-02-12 19:49, hash: `blender/blender@9fe469c110` Worked: before 8130de948d **Short description of error** When using EEVEE and the Node Wrangler Addon, `Ctrl Shift LMB` to connect nodes to the Viewer Node only work on Shader Nodes. All other node types return this error instead: ```Traceback (most recent call last): ``` File "C:\blender-git\build_windows_x64_vc16_Release\bin\Release\2.83\scripts\addons\node_wrangler.py", line 1709, in invoke intensity /= pow(2, (context.scene.view_settings.exposure)) # CM exposure is measured in stops/EVs (2^x) ``` UnboundLocalError: local variable 'intensity' referenced before assignment location: <unknown location>:-1``` Relevant code, lines 1706 and 1708 are new as of 8130de948d ``` 1706 if context.scene.render.engine == 'CYCLES' and hasattr(context.scene, 'cycles'): 1707 intensity = 1/context.scene.cycles.film_exposure # Film exposure is a multiplier 1708 1709 intensity /= pow(2, (context.scene.view_settings.exposure)) # CM exposure is measured in stops/EVs (2^x)``` **Exact steps for others to reproduce the error** Start Blender. Make sure Node Wrangler is enabled. Add a material to an object in the shader editor. Add any node type except shader. `Ctrl Shift LMB` on the node.
Author
Member

Added subscriber: @EAW

Added subscriber: @EAW
Author
Member

Added subscriber: @brecht

Added subscriber: @brecht
Author
Member

@brecht Adding you as a subscriber as 8130de948d is your commit.

@brecht Adding you as a subscriber as 8130de948d is your commit.
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

This issue was referenced by 9541def220

This issue was referenced by 9541def220aa4d81c754e46d8a701748a3245ba4
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Philipp Oeser self-assigned this 2020-02-13 11:09:20 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 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#73768
No description provided.