Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'release/scripts/textplugin_outliner.py')
-rw-r--r--release/scripts/textplugin_outliner.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/textplugin_outliner.py b/release/scripts/textplugin_outliner.py
index 6dbb86e3b67..0dbdb624dc5 100644
--- a/release/scripts/textplugin_outliner.py
+++ b/release/scripts/textplugin_outliner.py
@@ -12,9 +12,10 @@ try:
import bpy
from BPyTextPlugin import *
from Blender import Draw
- OK = True
except ImportError:
OK = False
+else:
+ OK = True
def make_menu(items, eventoffs):
n = len(items)