Browse Source

manual reverts2

shuvit 6 years ago
parent
commit
b740fbf4a3
2 changed files with 5 additions and 2 deletions
  1. 4
    1
      bpy_misc/pushpuller-addon.py
  2. 1
    1
      co_ActionState.py

+ 4
- 1
bpy_misc/pushpuller-addon.py View File

@@ -43,7 +43,10 @@ class OBJECT_OT_pullerer(bpy.types.Operator):
43 43
         for text in bpy.data.texts:
44 44
             area.spaces[0].text = text
45 45
             if text.filepath != '':
46
-                bpy.ops.text.reload()
46
+                try:
47
+                    bpy.ops.text.reload()
48
+                except:
49
+                    print("error reloading: ", text.filepath)    
47 50
             if text.filepath != '' and text.is_dirty:
48 51
                 bpy.ops.text.save()
49 52
 

+ 1
- 1
co_ActionState.py
File diff suppressed because it is too large
View File


Loading…
Cancel
Save