Very interesting piece of code... @nallath is there any solution to detect if the geometry have changed . I was using in one of my plugin :
self._scene = CuraApplication.getInstance().getController().getScene().getRoot() #type: Scene Root self._scene.meshDataChanged.connect(self._onSceneChanged)
but it also detect if we change the position of the part position on the buildplate or any modification set on the meshData.
Recommended Posts
nallath 1,125
The SceneChanged is a combination of three events:
What you're looking for is only the "childrenChanged" of the root:
Link to post
Share on other sites
bradk3 14
Fantastic! I'm not sure how I missed that in my searching through the source code, but I did.
Thank you for the information. That was exactly what I needed.
Link to post
Share on other sites
nallath 1,125
So out of curiosity; What plugin are you making?
Link to post
Share on other sites