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:
authorCampbell Barton <ideasman42@gmail.com>2010-02-16 12:55:07 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-02-16 12:55:07 +0300
commit23efeff6a90c924889c8e15889ff105e65487ea2 (patch)
tree895e6125dca0f17cbeb6cf8e65d9b8427e3bddff /release/scripts/op/add_armature_human.py
parentdf60ff553dce9497fc88f2ca6923f63eee41032a (diff)
[#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.
Diffstat (limited to 'release/scripts/op/add_armature_human.py')
-rw-r--r--release/scripts/op/add_armature_human.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/release/scripts/op/add_armature_human.py b/release/scripts/op/add_armature_human.py
index a8fd5cc3c1f..e70798a1d3a 100644
--- a/release/scripts/op/add_armature_human.py
+++ b/release/scripts/op/add_armature_human.py
@@ -614,3 +614,6 @@ def unregister():
bpy.types.unregister(AddHuman)
bpy.types.INFO_MT_armature_add.remove(menu_func)
+if __name__ == "__main__":
+ register()
+