def add_material(self, material):
        """Add a material to the mesh, IF it's not already present."""
        if self.has_material(material):
            return

        self.materials.append(material)