MCPcopy Create free account
hub / github.com/BlendingJake/NodeIO / make_list

Function make_list

io_node.py:41–48  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

39
40
41def make_list(data):
42 out = []
43 for i in data:
44 if isinstance(i, (bool, str)):
45 out.append(i)
46 else: # int, float
47 out.append(round(i, ROUND))
48 return out
49
50
51def collect_node_data(n: bpy.types.Node):

Callers 1

collect_node_dataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected