From 5ebebcfbfff4c218ab4101ee7f6a66617ee9b01f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 14 Jul 2018 23:49:00 +0200 Subject: WM: rename manipulator to gizmo internally --- source/blender/editors/space_api/spacetypes.c | 28 +++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'source/blender/editors/space_api') diff --git a/source/blender/editors/space_api/spacetypes.c b/source/blender/editors/space_api/spacetypes.c index 37f5ed642fe..7246812dc82 100644 --- a/source/blender/editors/space_api/spacetypes.c +++ b/source/blender/editors/space_api/spacetypes.c @@ -129,22 +129,22 @@ void ED_spacetypes_init(void) ED_screen_user_menu_register(); - /* manipulator types */ - ED_manipulatortypes_button_2d(); - ED_manipulatortypes_dial_3d(); - ED_manipulatortypes_grab_3d(); - ED_manipulatortypes_arrow_2d(); - ED_manipulatortypes_arrow_3d(); - ED_manipulatortypes_primitive_3d(); - ED_manipulatortypes_cage_2d(); - ED_manipulatortypes_cage_3d(); - - /* register types for operators and manipulators */ + /* gizmo types */ + ED_gizmotypes_button_2d(); + ED_gizmotypes_dial_3d(); + ED_gizmotypes_grab_3d(); + ED_gizmotypes_arrow_2d(); + ED_gizmotypes_arrow_3d(); + ED_gizmotypes_primitive_3d(); + ED_gizmotypes_cage_2d(); + ED_gizmotypes_cage_3d(); + + /* register types for operators and gizmos */ spacetypes = BKE_spacetypes_list(); for (type = spacetypes->first; type; type = type->next) { - /* init manipulator types first, operator-types need them */ - if (type->manipulators) { - type->manipulators(); + /* init gizmo types first, operator-types need them */ + if (type->gizmos) { + type->gizmos(); } if (type->operatortypes) { type->operatortypes(); -- cgit v1.2.3