mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 18:27:51 -06:00
Only trigger platform physics update if the node has meshdata
This commit is contained in:
parent
283d08a0d6
commit
00f5e6ff7c
1 changed files with 2 additions and 0 deletions
|
@ -40,6 +40,8 @@ class PlatformPhysics:
|
|||
Preferences.getInstance().addPreference("physics/automatic_drop_down", True)
|
||||
|
||||
def _onSceneChanged(self, source):
|
||||
if not source.getMeshData():
|
||||
return
|
||||
self._change_timer.start()
|
||||
|
||||
def _onChangeTimerFinished(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue