Re-build container tree if has_materials changes during runtime

A bit of a hack and it'll be very slow. But it should work. Right now this crashes though because it still calls the Material Manager.

Contributes to issue CURA-6600.
This commit is contained in:
Ghostkeeper 2019-09-17 08:55:29 +02:00
parent 9b341cf604
commit 977beb8dbb
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276
2 changed files with 17 additions and 1 deletions

View file

@ -5,7 +5,6 @@ from typing import Any, Dict, List, Optional, TYPE_CHECKING
from PyQt5.QtCore import QObject, pyqtSignal, pyqtSlot
from UM.Logger import Logger
from UM.Util import parseBool
from UM.Settings.InstanceContainer import InstanceContainer
from UM.Decorators import deprecated