Files
avatechai-avatar-graph-comfyui/blender/group_object.py
T
2023-09-05 18:06:32 +08:00

31 lines
628 B
Python

class GroupObject():
@classmethod
def INPUT_TYPES(s):
return {
"required": {
"bpy_objs_target": ("BPY_OBJS",),
"bpy_objs_target_2": ("BPY_OBJS",),
},
}
RETURN_TYPES = ("BPY_OBJS",)
RETURN_NAMES = ("bpy_objs",)
FUNCTION = "process"
CATEGORY = "mesh"
def process(self, bpy_objs_target, bpy_objs_target_2):
combined_list = bpy_objs_target + bpy_objs_target_2
return (combined_list,)
NODE_CLASS_MAPPINGS = {
"GroupObject": GroupObject
}
NODE_DISPLAY_NAME_MAPPINGS = {
"GroupObject": "Group Object"
}