mirror of
https://forge.apps.education.fr/blender-edutech/ropy.git
synced 2024-01-27 08:23:20 +01:00
Bugfix : commandes de la vitesse toujours visibles lors la fermeture de la tablette
This commit is contained in:
parent
40e73dc224
commit
e3e1c3c33d
7
rp.py
7
rp.py
@ -1054,6 +1054,13 @@ def tablet_close ():
|
|||||||
scene.objects['Task-cmd'].restorePhysics()
|
scene.objects['Task-cmd'].restorePhysics()
|
||||||
scene.objects['Task-cmd-Hl'].setVisible(False,True)
|
scene.objects['Task-cmd-Hl'].setVisible(False,True)
|
||||||
|
|
||||||
|
# Vitesse
|
||||||
|
if scene.objects['Points']['upgrade_speed'] ==False:
|
||||||
|
scene.objects['Text_speed'].setVisible(False,True)
|
||||||
|
scene.objects['Text_speed_label-fr'].setVisible(False,True)
|
||||||
|
scene.objects['Speed_down'].setVisible(False,True)
|
||||||
|
scene.objects['Speed_up'].setVisible(False,True)
|
||||||
|
|
||||||
# Camera
|
# Camera
|
||||||
scene.objects['Camera'].worldPosition.x = scene.objects['Camera']['current_lx']
|
scene.objects['Camera'].worldPosition.x = scene.objects['Camera']['current_lx']
|
||||||
scene.objects['Camera'].worldPosition.y = scene.objects['Camera']['current_ly']
|
scene.objects['Camera'].worldPosition.y = scene.objects['Camera']['current_ly']
|
||||||
|
Loading…
Reference in New Issue
Block a user