예제 #1
0
파일: specifics.py 프로젝트: pypingyi/mixer
def _(collection: T.bpy_prop_collection, proxy: Proxy, index: int,
      context: Context) -> T.bpy_struct:
    material_datablock = proxy.target(context)
    return collection.append(material_datablock)
예제 #2
0
def _add_element_material_ref(collection: T.bpy_prop_collection, proxy: Proxy,
                              context: Context):
    material_datablock = proxy.target(context)
    return collection.append(material_datablock)