Ver código fonte

manual reverts2

shuvit 6 anos atrás
pai
commit
b740fbf4a3
2 arquivos alterados com 5 adições e 2 exclusões
  1. 4
    1
      bpy_misc/pushpuller-addon.py
  2. 1
    1
      co_ActionState.py

+ 4
- 1
bpy_misc/pushpuller-addon.py Ver arquivo

@@ -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
Diferenças do arquivo suprimidas por serem muito extensas
Ver arquivo


Carregando…
Cancelar
Salvar