mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06: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 | ||
PerObjectCategory.qml | ||
PerObjectItem.qml | ||
PerObjectSettingsPanel.qml | ||
PerObjectSettingsTool.py | ||
PerObjectSettingVisibilityHandler.py | ||
plugin.json | ||
tool_icon.svg |