-def create_material_map(context, material):
- if not material.material_map:
- raise Exception("Material is not part of a material map")
+def create_material_atlas(context, material):
+ if not material.material_atlas:
+ raise Exception("Material is not part of a material atlas")