Node Wrangler Batch Change Blend Type #87852

Open
opened 2021-04-27 06:12:07 +02:00 by Frank Schmidt · 6 comments

Blender Version
2.92.0 release, 02948a2cab44, 2021-02-24 16:25

Add-On:
Name: Node Wrangler
Version: 3.37

Short description of error
Hotkey combination <Alt + cursor up/down> to <Batch change blend type (Previous)> on Math Nodes to change to certain Functions

Exact steps for others to reproduce the error
Works:
When using the hotkey combination <Alt + cursor up/down> to <Batch change blend type (Previous)> on Nodes like Mix.
Broken:
When using the same hotkey combination on a Math node to batch change functions or also to change only the function of a single Math node, it works fine until hitting "Rounding -> Ceil" or "Convert -> To Radians". When trying to go one further up or down from there, error message appears (attached pdf) that refers to:

C:\Program Files\Blender Foundation\Blender 2.92\2.92\scripts\addons\node_wrangler.py, line 2579, in execute
MathNodeOperationOneUpFromRadiansError.pdf

System Information
Operating system name Microsoft Windows 10 Home
Version 10.0.19042 Build 19042
Additional operating system description Not available
Operating system manufacturer Microsoft Corporation
System name DESKTOP-OE5BG91
System manufacturer Acer
System model Aspire S5-371
System type x64-based PC
System SKU Aspire S5-371_1126_V1.08
Processor Intel (R) Core (TM) i3-7100U CPU @ 2.40GHz, 2400 MHz, 2 core (s), 4 logical processor (s)
BIOS version / date Insyde Corp. V1.08, October 24, 2016
SMBIOS version 3.0
Embedded controller version 1.07
BIOS mode UEFI
BaseBoard manufacturer Acer
BaseBoard product Minicooper_SK
BaseBoard version V1.08
Mobile platform role
Safe startup state On
PCR7 configuration extension required for display
Windows directory C: \ WINDOWS
System directory C: \ WINDOWS \ system32
Start device \ Device \ HarddiskVolume1
Switzerland locale
Hardware abstraction level version = "10.0.19041.906"
Username DESKTOP-OE5BG91 \ Jenny71
Time zone Central European Summer Time
Installed physical memory (RAM) 8.00 GB
Total physical memory 7.87 GB
Available physical storage 1.24 GB
Total virtual memory 13.9 GB
Available virtual memory 5.11 GB
Size of the paging file 6.00 GB

**Blender Version** 2.92.0 release, 02948a2cab44, 2021-02-24 16:25 **Add-On:** Name: Node Wrangler Version: 3.37 **Short description of error** Hotkey combination <Alt + cursor up/down> to <Batch change blend type (Previous)> on Math Nodes to change to certain Functions **Exact steps for others to reproduce the error** *Works:* When using the hotkey combination <Alt + cursor up/down> to <Batch change blend type (Previous)> on Nodes like Mix. *Broken:* When using the same hotkey combination on a Math node to batch change functions or also to change only the function of a single Math node, it works fine until hitting "Rounding -> Ceil" or "Convert -> To Radians". When trying to go one further up or down from there, error message appears (attached pdf) that refers to: C:\Program Files\Blender Foundation\Blender 2.92\2.92\scripts\addons\node_wrangler.py, line 2579, in execute [MathNodeOperationOneUpFromRadiansError.pdf](https://archive.blender.org/developer/F10040700/MathNodeOperationOneUpFromRadiansError.pdf) **System Information** Operating system name Microsoft Windows 10 Home Version 10.0.19042 Build 19042 Additional operating system description Not available Operating system manufacturer Microsoft Corporation System name DESKTOP-OE5BG91 System manufacturer Acer System model Aspire S5-371 System type x64-based PC System SKU Aspire S5-371_1126_V1.08 Processor Intel (R) Core (TM) i3-7100U CPU @ 2.40GHz, 2400 MHz, 2 core (s), 4 logical processor (s) BIOS version / date Insyde Corp. V1.08, October 24, 2016 SMBIOS version 3.0 Embedded controller version 1.07 BIOS mode UEFI BaseBoard manufacturer Acer BaseBoard product Minicooper_SK BaseBoard version V1.08 Mobile platform role Safe startup state On PCR7 configuration extension required for display Windows directory C: \ WINDOWS System directory C: \ WINDOWS \ system32 Start device \ Device \ HarddiskVolume1 Switzerland locale Hardware abstraction level version = "10.0.19041.906" Username DESKTOP-OE5BG91 \ Jenny71 Time zone Central European Summer Time Installed physical memory (RAM) 8.00 GB Total physical memory 7.87 GB Available physical storage 1.24 GB Total virtual memory 13.9 GB Available virtual memory 5.11 GB Size of the paging file 6.00 GB
Author

Added subscriber: @Frankys1000

Added subscriber: @Frankys1000

Added subscriber: @lebibibioihandsomeboy.ghost

Added subscriber: @lebibibioihandsomeboy.ghost

Removed subscriber: @lebibibioihandsomeboy.ghost

Removed subscriber: @lebibibioihandsomeboy.ghost
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

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

Changed status from 'Needs Triage' to: 'Confirmed'
Member
Python: Traceback (most recent call last):
  File "/home/omar/projects/blender/build/bin/3.2/scripts/addons/node_wrangler.py", line 2818, in execute
    node.operation = operations[index - 1][0]
TypeError: bpy_struct: item.attr = val: enum "TRUNCATE" not found in ('ADD', 'SUBTRACT', 'MULTIPLY', 'DIVIDE', 'MULTIPLY_ADD', 'POWER', 'LOGARITHM', 'SQRT', 'INVERSE_SQRT', 'ABSOLUTE', 'EXPONENT', 'MINIMUM', 'MAXIMUM', 'LESS_THAN', 'GREATER_THAN', 'SIGN', 'COMPARE', 'SMOOTH_MIN', 'SMOOTH_MAX', 'ROUND', 'FLOOR', 'CEIL', 'TRUNC', 'FRACT', 'MODULO', 'WRAP', 'SNAP', 'PINGPONG', 'SINE', 'COSINE', 'TANGENT', 'ARCSINE', 'ARCCOSINE', 'ARCTANGENT', 'ARCTAN2', 'SINH', 'COSH', 'TANH', 'RADIANS', 'DEGREES')
``` Python: Traceback (most recent call last): File "/home/omar/projects/blender/build/bin/3.2/scripts/addons/node_wrangler.py", line 2818, in execute node.operation = operations[index - 1][0] TypeError: bpy_struct: item.attr = val: enum "TRUNCATE" not found in ('ADD', 'SUBTRACT', 'MULTIPLY', 'DIVIDE', 'MULTIPLY_ADD', 'POWER', 'LOGARITHM', 'SQRT', 'INVERSE_SQRT', 'ABSOLUTE', 'EXPONENT', 'MINIMUM', 'MAXIMUM', 'LESS_THAN', 'GREATER_THAN', 'SIGN', 'COMPARE', 'SMOOTH_MIN', 'SMOOTH_MAX', 'ROUND', 'FLOOR', 'CEIL', 'TRUNC', 'FRACT', 'MODULO', 'WRAP', 'SNAP', 'PINGPONG', 'SINE', 'COSINE', 'TANGENT', 'ARCSINE', 'ARCCOSINE', 'ARCTANGENT', 'ARCTAN2', 'SINH', 'COSH', 'TANH', 'RADIANS', 'DEGREES') ```
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 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#87852
No description provided.