mirror of
https://forge.apps.education.fr/blender-edutech/ropy.git
synced 2024-01-27 08:23:20 +01:00
Bugfix : texte de la documentation trop lourde à changer
This commit is contained in:
parent
dc6cb53e73
commit
70e02bd59f
12
rp_doc.py
12
rp_doc.py
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user