mirror of
https://github.com/Ultimaker/Cura.git
synced 2026-02-24 21:35:06 -07:00
**The diagnosis:** The issue arrises from the fact that while the original object is subscribed to be validated, that subscription is only created by setting it as a settings override object. A clone of that object, while still a settings-override object, never gets subscribed because it's not explicitly set with the tool. **The solution (?):** I moved all the validation stuff over to SettingOverrideDecorator.py, and use its onSettingChanged() function to trigger the validation. Unfortunately, I can't use the timer because of some limitation with QTTimer and threads. So it's _a bit laggy in some places, and I'd be open to tips about how to fix this. It does work reliably though. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| ContainerManager.py | ||
| ContainerSettingsModel.py | ||
| CuraContainerRegistry.py | ||
| CuraContainerStack.py | ||
| CuraStackBuilder.py | ||
| Exceptions.py | ||
| ExtruderManager.py | ||
| ExtrudersModel.py | ||
| ExtruderStack.py | ||
| GlobalStack.py | ||
| MachineManager.py | ||
| MachineNameValidator.py | ||
| MaterialManager.py | ||
| MaterialSettingsVisibilityHandler.py | ||
| MaterialsModel.py | ||
| PerObjectContainerStack.py | ||
| ProfilesModel.py | ||
| QualityAndUserProfilesModel.py | ||
| QualitySettingsModel.py | ||
| SetObjectExtruderOperation.py | ||
| SettingInheritanceManager.py | ||
| SettingOverrideDecorator.py | ||
| SimpleModeSettingsManager.py | ||
| UserChangesModel.py | ||
| UserProfilesModel.py | ||