Changeset View
Changeset View
Standalone View
Standalone View
space_view3d_pie_menus/pie_apply_transform_menu.py
| Show First 20 Lines • Show All 65 Lines • ▼ Show 20 Lines | |||||
| # Apply Transforms | # Apply Transforms | ||||
| class ApplyTransLocRotPie(Operator): | class ApplyTransLocRotPie(Operator): | ||||
| bl_idname = "apply.transformlocrotscale" | bl_idname = "apply.transformlocrotscale" | ||||
| bl_label = "Apply Transforms" | bl_label = "Apply Transforms" | ||||
| bl_description = "Apply Transform: Location, Rotation or Scale" | bl_description = "Apply Transform: Location, Rotation or Scale" | ||||
| bl_options = {'REGISTER', 'UNDO'} | bl_options = {'REGISTER', 'UNDO'} | ||||
| option = EnumProperty( | option: EnumProperty( | ||||
| name="Type", | name="Type", | ||||
| items=[ | items=[ | ||||
| ("LOC", "Location", "Apply Location"), | ("LOC", "Location", "Apply Location"), | ||||
| ("ROT", "Rotation", "Apply Rotation"), | ("ROT", "Rotation", "Apply Rotation"), | ||||
| ("SCALE", "Scale", "Apply Scale") | ("SCALE", "Scale", "Apply Scale") | ||||
| ], | ], | ||||
| default="LOC", | default="LOC", | ||||
| ) | ) | ||||
| ▲ Show 20 Lines • Show All 87 Lines • Show Last 20 Lines | |||||