Browse Source

first win refresher test3

shuvit 6 years ago
parent
commit
e8ab86a238
2 changed files with 3 additions and 1 deletions
  1. 1
    1
      bpy_misc/refresh_scripts.py
  2. 2
    0
      controller2.py

+ 1
- 1
bpy_misc/refresh_scripts.py View File

@@ -3,7 +3,7 @@ import bpy
3 3
 area = bpy.context.area
4 4
 for text in bpy.data.texts:
5 5
     area.spaces[0].text = text
6
-    if text.filepath and reload_on:
6
+    if text.filepath != '' and reload_on == True:
7 7
         bpy.ops.text.reload()
8 8
     if text.filepath != '' and text.is_dirty:
9 9
         bpy.ops.text.save()

+ 2
- 0
controller2.py View File

@@ -1,5 +1,7 @@
1 1
 #shuvit.org
2 2
 
3
+#main control script
4
+
3 5
 #scale = .3
4 6
 #action layers
5 7
 #0-14 rolling

Loading…
Cancel
Save