minor pep8 edits, also added 'test_pep8' & 'test_cmake' to the GNUmakefile for conven...
[blender.git] / release / scripts / startup / bl_ui / space_nla.py
index 83d84647acb2792a704216c718ce3b81393a8b88..717adb3baa8a0c5efdbd77309972a760e2c8d8f9 100644 (file)
@@ -25,7 +25,7 @@ class NLA_HT_header(bpy.types.Header):
     bl_space_type = 'NLA_EDITOR'
 
     def draw(self, context):
-        from space_dopesheet import dopesheet_filter
+        from bl_ui.space_dopesheet import dopesheet_filter
 
         layout = self.layout
 
@@ -188,4 +188,7 @@ class NLA_MT_edit_transform(bpy.types.Menu):
         layout.column()
         layout.operator("transform.translate", text="Grab/Move")
         layout.operator("transform.transform", text="Extend").mode = 'TIME_EXTEND'
-        layout.operator("transform.resize", text="Scale")
+        layout.operator("transform.transform", text="Scale").mode = 'TIME_SCALE'
+
+if __name__ == "__main__":  # only for live edit.
+    bpy.utils.register_module(__name__)