Correction coquilles dans la page générale de la documentation
This commit is contained in:
parent
bbc9a0aadf
commit
b7bbc76b36
BIN
ropy-31.blend
BIN
ropy-31.blend
Binary file not shown.
4
rp.py
4
rp.py
|
@ -129,7 +129,7 @@ def points_maj (cont):
|
|||
##
|
||||
|
||||
def terrain_init (cont):
|
||||
if cont.sensors['Init'].positive == False:
|
||||
if cont.sensors['Init'].positive == False: # 1 seule fois
|
||||
return False
|
||||
|
||||
# Ajout du Hud
|
||||
|
@ -401,7 +401,7 @@ color_cmd_hl = (0.8, 0.619, 0.021, 1) # Jaune
|
|||
##
|
||||
|
||||
def cmd_init(cont):
|
||||
if cont.sensors['Init'].positive == False:
|
||||
if cont.sensors['Init'].positive == False: # 1 seule fois
|
||||
return False
|
||||
|
||||
# Taille de la fenêtre
|
||||
|
|
|
@ -260,7 +260,6 @@ def init():
|
|||
text_load()
|
||||
|
||||
# Mémorisation de la position des pages
|
||||
chap=("general", "missions", "rover", "python")
|
||||
for page in chap:
|
||||
scene.objects["Doc_chap-"+page]['init_lx']=scene.objects["Doc_chap-"+page].worldPosition.x
|
||||
scene.objects["Doc_chap-"+page]['init_ly']=scene.objects["Doc_chap-"+page].worldPosition.y
|
||||
|
@ -363,7 +362,7 @@ def hl (cont):
|
|||
name_text=name+"-text"
|
||||
name_icon=name+"-icon"
|
||||
|
||||
# Close
|
||||
# Close ou lien
|
||||
if name == "Doc_close" or name == "Book_level_button":
|
||||
scene.objects[name].color = color_doc_hl
|
||||
elif name == "Book_python_url0" or name == "Book_python_url1" or name == "Book_python_url2":
|
||||
|
|
Loading…
Reference in New Issue