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>2019-02-20 01:43:29 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-02-20 01:43:29 +0300
commit63d77d6d27385579420595c4131c7f0fd61b3f69 (patch)
tree145cc76e1f5e5771ab41b8dcebd10e6df3a85ab0 /source/blender/windowmanager/gizmo/intern/wm_gizmo_map.c
parente53676a5c7f1b58628afe37b648caa43f5c7a907 (diff)
Cleanup: rename wmEventHandler_* base -> head
Makes it more clear it's the header/start of the struct.
Diffstat (limited to 'source/blender/windowmanager/gizmo/intern/wm_gizmo_map.c')
-rw-r--r--source/blender/windowmanager/gizmo/intern/wm_gizmo_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/gizmo/intern/wm_gizmo_map.c b/source/blender/windowmanager/gizmo/intern/wm_gizmo_map.c
index b1e35943b6c..f2620499661 100644
--- a/source/blender/windowmanager/gizmo/intern/wm_gizmo_map.c
+++ b/source/blender/windowmanager/gizmo/intern/wm_gizmo_map.c
@@ -683,7 +683,7 @@ void WM_gizmomap_add_handlers(ARegion *ar, wmGizmoMap *gzmap)
}
wmEventHandler_Gizmo *handler = MEM_callocN(sizeof(*handler), __func__);
- handler->base.type = WM_HANDLER_TYPE_GIZMO;
+ handler->head.type = WM_HANDLER_TYPE_GIZMO;
BLI_assert(gzmap == ar->gizmo_map);
handler->gizmo_map = gzmap;
BLI_addtail(&ar->handlers, handler);