mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Cleanup: Format
This commit is contained in:
parent
86cd240c57
commit
9188ce10e7
1 changed files with 3 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ It demonstrates:
|
|||
|
||||
import bpy
|
||||
|
||||
|
||||
class OBJECT_OT_simple_macro(bpy.types.Macro):
|
||||
bl_idname = "object.simple_macro"
|
||||
bl_label = "Simple Transform Macro"
|
||||
|
|
@ -22,6 +23,7 @@ class OBJECT_OT_simple_macro(bpy.types.Macro):
|
|||
def poll(cls, context):
|
||||
return context.active_object is not None
|
||||
|
||||
|
||||
def register():
|
||||
bpy.utils.register_class(OBJECT_OT_simple_macro)
|
||||
|
||||
|
|
@ -40,6 +42,7 @@ def register():
|
|||
def unregister():
|
||||
bpy.utils.unregister_class(OBJECT_OT_simple_macro)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
register()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue