Skip to content

Commit 344e4c5

Browse files
committed
feat: support for rotation sockets
1 parent 23a863e commit 344e4c5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ntp_operator.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,10 @@ def _set_input_defaults(self, node: bpy.types.Node, inner: str,
395395
elif "Vector" in input.bl_idname:
396396
default_val = vec3_to_py_str(input.default_value)
397397

398+
#rotation types
399+
elif input.bl_idname == 'NodeSocketRotation':
400+
default_val = vec3_to_py_str(input.default_value)
401+
398402
# strings
399403
elif input.bl_idname == 'NodeSocketString':
400404
default_val = str_to_py_str(input.default_value)

0 commit comments

Comments
 (0)