diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-06-27 14:28:36 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-06-27 14:28:36 +0300 |
commit | 60d402d71565bdabb2d40ca7f122aca39092761c (patch) | |
tree | 076d3e7989b780ab3332599066804b53b21e8db2 /source/blender/windowmanager/gizmo/WM_gizmo_types.h | |
parent | 219a10e46aa65c6c416b205cd7389d3ee86777f6 (diff) |
User counttemp-toolsystem-multiwindow
Diffstat (limited to 'source/blender/windowmanager/gizmo/WM_gizmo_types.h')
-rw-r--r-- | source/blender/windowmanager/gizmo/WM_gizmo_types.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/windowmanager/gizmo/WM_gizmo_types.h b/source/blender/windowmanager/gizmo/WM_gizmo_types.h index 7afd2908b8e..68ecdeea936 100644 --- a/source/blender/windowmanager/gizmo/WM_gizmo_types.h +++ b/source/blender/windowmanager/gizmo/WM_gizmo_types.h @@ -417,6 +417,12 @@ typedef struct wmGizmoGroupType { /** Same as gizmo-maps, so registering/unregistering goes to the correct region. */ struct wmGizmoMapType_Params gzmap_params; + /** + * Number of #wmGizmoGroup instances. + * Decremented when 'tag_remove' is set, or when removed. + */ + int users; + } wmGizmoGroupType; typedef struct wmGizmoGroup { @@ -432,6 +438,8 @@ typedef struct wmGizmoGroup { /** Errors and warnings storage. */ struct ReportList *reports; + bool tag_remove; + void *customdata; /** For freeing customdata from above. */ void (*customdata_free)(void *); |