TextPlugin update: Converted try-except blocks to use try-catch-else to allow better error tracking. Commented the descriptor classes and improved variable support for basic types (string, list, etc.)

This commit is contained in:
Ian Thompson
2008-07-26 20:02:10 +00:00
parent 9f19d88a5d
commit 6531d859ba
6 changed files with 76 additions and 38 deletions

View File

@@ -11,9 +11,10 @@ Tooltip: 'Attempts to display documentation about the function preceding the cur
try:
import bpy
from BPyTextPlugin import *
OK = True
except ImportError:
OK = False
else:
OK = True
def main():
txt = bpy.data.texts.active