Reset the list of generic materials to emtpy when creating the models.

Contributes to CURA-5873.
This commit is contained in:
Diego Prado Gesto 2018-10-31 10:31:20 +01:00
parent e887c260ab
commit 3e37f2a09d

View file

@ -845,6 +845,7 @@ class Toolbox(QObject, Extension):
def buildMaterialsModels(self) -> None: def buildMaterialsModels(self) -> None:
self._metadata["materials_showcase"] = [] self._metadata["materials_showcase"] = []
self._metadata["materials_available"] = [] self._metadata["materials_available"] = []
self._metadata["materials_generic"] = []
processed_authors = [] # type: List[str] processed_authors = [] # type: List[str]