Esempio n. 1
0
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)
Esempio n. 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)