Exemplo 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)
Exemplo 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)