shuvit пре 6 година
родитељ
комит
a820b77b2a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      bpy_misc/refresh_scripts.py

+ 1
- 1
bpy_misc/refresh_scripts.py Прегледај датотеку

@@ -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 == True:
6
+    if text.filepath and reload_on:
7 7
         bpy.ops.text.reload()
8 8
     if text.filepath != '' and text.is_dirty:
9 9
         bpy.ops.text.save()

Loading…
Откажи
Сачувај