Cura/plugins/XmlMaterialProfile
Ruben D c1ba64fd9e
Correct variants after all metadata is loaded
As explained in the block of documentation, we can't find the variants because there is no guarantee that the variants have been loaded by the time that the metadata of materials is deserialised and we don't know their IDs either (so no lazy loading). This registers a function to be called upon completely loading the metadata, which runs a query on the metadata to find the variant by its definition and name. A bit hacky but I see no better solution.

Contributes to issue CURA-4243.
2017-11-30 00:10:02 +01:00
..
__init__.py Fix material upgrade and version checking 2017-11-02 13:01:49 +01:00
plugin.json Set author to Ultimaker B.V. instead of Ultimaker 2017-06-28 13:50:37 +02:00
product_to_id.json Load product_id_map from file 2017-11-01 14:52:03 +01:00
XmlMaterialProfile.py Correct variants after all metadata is loaded 2017-11-30 00:10:02 +01:00
XmlMaterialUpgrader.py Fix material upgrade and version checking 2017-11-02 13:01:49 +01:00