quiet warning & minor pep8 edits.
[blender.git] / release / scripts / startup / bl_ui / space_dopesheet.py
index 1de30ffdea88d8ddb3d154a765c04821df92f4dc..930a2029d3213d521b895d1fbfa4a3987a5058c0 100644 (file)
@@ -73,7 +73,7 @@ def dopesheet_filter(layout, context, genericFiltersOnly=False):
             row.prop(dopesheet, "show_only_group_objects", text="")
             if dopesheet.show_only_group_objects:
                 row.prop(dopesheet, "filter_group", text="")
-   
+
     if not is_nla:
         row = layout.row(align=True)
         row.prop(dopesheet, "show_only_matching_fcurves", text="")
@@ -364,3 +364,6 @@ class DOPESHEET_MT_gpencil_frame(bpy.types.Menu):
         #layout.separator()
         #layout.operator("action.copy")
         #layout.operator("action.paste")
+
+if __name__ == "__main__":  # only for live edit.
+    bpy.utils.register_module(__name__)