import common classes from bpy.types, saves ~1000 python getattrs on startup.

This commit is contained in:
Campbell Barton
2011-08-12 06:57:00 +00:00
parent 8fd246cb70
commit b374ab919a
59 changed files with 624 additions and 565 deletions

View File

@@ -19,6 +19,7 @@
# <pep8-80 compliant>
import bpy
from bpy.types import Operator
def pose_frame_info(obj):
@@ -191,7 +192,7 @@ def bake(frame_start,
from bpy.props import IntProperty, BoolProperty, EnumProperty
class BakeAction(bpy.types.Operator):
class BakeAction(Operator):
'''Bake animation to an Action'''
bl_idname = "nla.bake"
bl_label = "Bake Action"