[#21177] Text editor

Running scripts directly didnt call the register function, even though this is not essential its good to be able to run a script directly and see changes in the UI.
This commit is contained in:
Campbell Barton
2010-02-16 09:55:07 +00:00
parent df60ff553d
commit 23efeff6a9
72 changed files with 276 additions and 2 deletions

View File

@@ -153,3 +153,7 @@ def unregister():
unregister = bpy.types.unregister
for cls in classes:
unregister(cls)
if __name__ == "__main__":
register()