diff options
author | Nathan Vegdahl <cessen@cessen.com> | 2011-03-10 12:18:09 +0300 |
---|---|---|
committer | Nathan Vegdahl <cessen@cessen.com> | 2011-03-10 12:18:09 +0300 |
commit | 887868444d4b4cec6fdae8a3b6f277e5e35527be (patch) | |
tree | ed107dfb35d74a82d4b7b9506b0ee0e83855a942 /rigify/ui.py | |
parent | e9efe82cd0af0a99567340bf1d8e458dfe1acb86 (diff) |
Rigify:
Clean-up of the IK/FK snapping code. Should be much more maintainable now.
Also changed rig id generation. Rig id's now consist of a random
alphanumeric string 8 characters long, with the smallest 8 digits of seconds
since the epoc (in hex) at the time of rig generation appended on the end.
This results in a 16-character string that is ludicrously unlikely to
have any collisions between rigs. 36^8 * 16^8, with the 16^8 being very well
distributed over time. Ah... paranoia.
Diffstat (limited to 'rigify/ui.py')
-rw-r--r-- | rigify/ui.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/rigify/ui.py b/rigify/ui.py index dd91c8cc..7fadbd37 100644 --- a/rigify/ui.py +++ b/rigify/ui.py @@ -220,7 +220,6 @@ class Sample(bpy.types.Operator): metarig_type = StringProperty(name="Type", description="Name of the rig type to generate a sample of", maxlen=128, default="") - def execute(self, context): if context.mode == 'EDIT_ARMATURE' and self.metarig_type != "": use_global_undo = context.user_preferences.edit.use_global_undo |