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-09-08 05:49:21 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-09-08 05:49:46 +0300
commitf7f4c05bbfeec7679e44de2d216a1bb7de3c7749 (patch)
tree1c50ac9c459566fe689bc062aed431b429ba2716 /source/blender/windowmanager/gizmo/WM_gizmo_types.h
parentdc29ae579f2dcdab0326ab3fcc60dc1f488f029d (diff)
WM: add temporary field to gizmo's
Diffstat (limited to 'source/blender/windowmanager/gizmo/WM_gizmo_types.h')
-rw-r--r--source/blender/windowmanager/gizmo/WM_gizmo_types.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/windowmanager/gizmo/WM_gizmo_types.h b/source/blender/windowmanager/gizmo/WM_gizmo_types.h
index 76e263269bb..46b6b85e8f2 100644
--- a/source/blender/windowmanager/gizmo/WM_gizmo_types.h
+++ b/source/blender/windowmanager/gizmo/WM_gizmo_types.h
@@ -223,6 +223,11 @@ struct wmGizmo {
struct IDProperty *properties;
+ /* Temporary data (assume dirty). */
+ union {
+ float f;
+ } temp;
+
/* over alloc target_properties after 'wmGizmoType.struct_size' */
};