Shuvit game release repo.
Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
123456789 |
- reload_on = False #reload from external file or save all from internal
- import bpy
- area = bpy.context.area
- for text in bpy.data.texts:
- area.spaces[0].text = text
- if text.filepath != '' and reload_on == True:
- bpy.ops.text.reload()
- if text.filepath != '' and text.is_dirty:
- bpy.ops.text.save()
|