Bugfix : texte de la documentation trop lourde à changer

This commit is contained in:
Philippe Roy 2022-11-25 01:56:14 +01:00
parent dc6cb53e73
commit 70e02bd59f

View File

@ -505,14 +505,26 @@ def chapter(cont):
scene.objects['Doc_title'].setVisible(False,True)
text_hide()
##
# Cacher le texte
##
def text_hide():
for i in range (13):
scene.objects['Doc_text-l'+str(i+1)].setVisible(False, False)
##
# Effacer le texte
##
def text_clear():
for i in range (13):
scene.objects['Doc_text-l'+str(i+1)]['Text'] = ""
##
# Afficher le texte
##
def text_update(text):
lines = text.split("\n")
for i in range (13):