Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-07-15 15:24:10 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-07-15 15:35:33 +0300
commitb457cae397054a1be4e60f3007995f97c198b2b6 (patch)
tree317196bf7f809b153c7656ebe9ff310783e1bdb2 /source/blender/editors/space_image
parentb5451a642f2c08519e2ce46e16d3274e1f5dcbd3 (diff)
Cleanup: use variable names based on term gizmo
Diffstat (limited to 'source/blender/editors/space_image')
-rw-r--r--source/blender/editors/space_image/space_image.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/source/blender/editors/space_image/space_image.c b/source/blender/editors/space_image/space_image.c
index 68b0f42768a..d87bfbe00ce 100644
--- a/source/blender/editors/space_image/space_image.c
+++ b/source/blender/editors/space_image/space_image.c
@@ -581,25 +581,25 @@ static int image_context(const bContext *C, const char *member, bContextDataResu
return 0;
}
-static void IMAGE_WGT_gizmo2d(wmGizmoGroupType *wgt)
+static void IMAGE_GGT_gizmo2d(wmGizmoGroupType *gzgt)
{
- wgt->name = "UV Transform Gizmo";
- wgt->idname = "IMAGE_WGT_gizmo2d";
+ gzgt->name = "UV Transform Gizmo";
+ gzgt->idname = "IMAGE_GGT_gizmo2d";
- wgt->flag |= WM_GIZMOGROUPTYPE_PERSISTENT;
+ gzgt->flag |= WM_GIZMOGROUPTYPE_PERSISTENT;
- wgt->poll = ED_widgetgroup_gizmo2d_poll;
- wgt->setup = ED_widgetgroup_gizmo2d_setup;
- wgt->refresh = ED_widgetgroup_gizmo2d_refresh;
- wgt->draw_prepare = ED_widgetgroup_gizmo2d_draw_prepare;
+ gzgt->poll = ED_widgetgroup_gizmo2d_poll;
+ gzgt->setup = ED_widgetgroup_gizmo2d_setup;
+ gzgt->refresh = ED_widgetgroup_gizmo2d_refresh;
+ gzgt->draw_prepare = ED_widgetgroup_gizmo2d_draw_prepare;
}
static void image_widgets(void)
{
- wmGizmoMapType *mmap_type = WM_gizmomaptype_ensure(
+ wmGizmoMapType *gzmap_type = WM_gizmomaptype_ensure(
&(const struct wmGizmoMapType_Params){SPACE_IMAGE, RGN_TYPE_WINDOW});
- WM_gizmogrouptype_append_and_link(mmap_type, IMAGE_WGT_gizmo2d);
+ WM_gizmogrouptype_append_and_link(gzmap_type, IMAGE_GGT_gizmo2d);
}
/************************** main region ***************************/