Shuvit game release repo.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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()
|