mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-14 04:13:12 +08:00
Only trigger platform physics update if the node has meshdata
This commit is contained in:
parent
283d08a0d6
commit
00f5e6ff7c
@ -40,6 +40,8 @@ class PlatformPhysics:
|
|||||||
Preferences.getInstance().addPreference("physics/automatic_drop_down", True)
|
Preferences.getInstance().addPreference("physics/automatic_drop_down", True)
|
||||||
|
|
||||||
def _onSceneChanged(self, source):
|
def _onSceneChanged(self, source):
|
||||||
|
if not source.getMeshData():
|
||||||
|
return
|
||||||
self._change_timer.start()
|
self._change_timer.start()
|
||||||
|
|
||||||
def _onChangeTimerFinished(self):
|
def _onChangeTimerFinished(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user