Files
avatechai-avatar-graph-comfyui/blender/ops_get_first_obj.py
T

10 lines
222 B
Python

import blender_node
class GetFirstObjOps(blender_node.ObjectOps):
BASE_INPUT_TYPES = {
**blender_node.BPY_OBJS_TYPE
}
def blender_process(self, bpy, BPY_OBJS, **props):
return (BPY_OBJS[0], )