diff --git a/ropy-28.blend b/ropy-28.blend index 1bb57a5..6bab38f 100644 Binary files a/ropy-28.blend and b/ropy-28.blend differ diff --git a/rp.py b/rp.py index 2fe7bd7..9554b5f 100644 --- a/rp.py +++ b/rp.py @@ -326,7 +326,6 @@ def terrain_grid (): scene.objects['Grid-u']['anim'] = True def terrain_grid_anim (): - print (scene.objects['Grid-u']['timer']) bpy.data.materials["Grid"].node_tree.nodes["Shader de mélange"].inputs[0].default_value=scene.objects['Grid-u']['timer'] bpy.data.materials["Grid-Yellow"].node_tree.nodes["Shader de mélange"].inputs[0].default_value=scene.objects['Grid-u']['timer'] bpy.data.materials["Grid-Green"].node_tree.nodes["Shader de mélange"].inputs[0].default_value=scene.objects['Grid-u']['timer'] @@ -996,6 +995,8 @@ def tablet_open (): scene.active_camera = scene.objects["Camera-Hud"] scene.objects['Camera'].setVisible(False,True) + scene.objects['Doc-cmd-colbox'].suspendPhysics (True) + # Ouvrir la tablette rp_doc.open() @@ -1030,6 +1031,7 @@ def tablet_close (): scene.objects['Stop-Hl'].setVisible(False,False) scene.objects['Aim-cmd-Hl'].setVisible(False,False) scene.objects['Doc-cmd-Hl'].setVisible(False,False) + scene.objects['Doc-cmd-colbox'].restorePhysics() scene.objects['ResetView-Hl'].setVisible(False,False) scene.objects['About-cmd-Hl'].setVisible(False,False) scene.objects['Speed_up-Hl'].setVisible(False,False) diff --git a/rp_doc.py b/rp_doc.py index 7b43c29..683a0e0 100644 --- a/rp_doc.py +++ b/rp_doc.py @@ -583,7 +583,6 @@ def python_link (cont): name_fct = scene.objects['Doc_chap-python']['page_fct'] if name_fct !="": i= cont.owner.name[15:-7] - print (i) webbrowser.open(card_description[name_fct][2][int(i)][1]) ## diff --git a/rp_store.py b/rp_store.py index c2f88ae..c261e68 100644 --- a/rp_store.py +++ b/rp_store.py @@ -158,7 +158,6 @@ def open_anim(): scene.objects['Store'].worldPosition = [xi, yi, zi] scene.objects['Store'].worldScale = [scalei, scalei, scalei] scene.objects['Store']['timer']+=1 - # print ("Store : timer", scene.objects['Store']['timer'], xi, yi, zi, scalei) if scene.objects['Store']['timer']== resol: scene.objects['Store']['anim'] = False @@ -371,7 +370,7 @@ def rover_go_store(): x0 = obj.worldPosition.x y0 = obj.worldPosition.y z0 = obj.worldPosition.z - print ("Position actuelle :", x0, y0) + # print ("Position actuelle :", x0, y0) # Pathfinder : zone 1 if x0<=-10 and (y0==2 or y0==3):