Project: Blender Extensions
Tracker: Py Scripts Upload
Blender: 2.55
Category: Text Editor
Python: 3.1
Script name: reload_if_modified
Wiki page: http://wiki.blender.org/index.php/Extensions:2.5/Py/Scripts/Text_Editor/Reload_if_Modified
Author(s): Dany Lebel (axon_d)
Status: Closed
This addon will automatically reload a text datablock if its source file does not corresponds to the last blendfile version. This must be checked for each file wanted to be updated automatically. It has no effect on internal text datablock.
To test the addon:
1
create a text file in blender and save it on disc. Check the "Reload if Modified" checkbox on the header bar of the text editor.
2
edit this text in an external text editor and save your changes.
3
get back to blender and the text is reloaded automatically.
Keep in mind that it will only update text datablock that are visible in the UI (for example, text in another screen won't be reloaded). But this is not so much a problem since blender always save text internally(unless I'm wrong). External save must be done explicitly.