diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-08-21 09:42:12 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-08-21 10:01:14 +0300 |
commit | f189ad1f4b3602e1764994c78c4d906dc12dcc8f (patch) | |
tree | d3dc0273f55ec7b520a8d40460384df1c5ed1f36 /source/blender/editors/gizmo_library/gizmo_library_utils.c | |
parent | 4f06c7c8389d144394efdda8829f3d01283694d6 (diff) |
Cleanup: rename gizmo access functions
Add float in API names since we may want access to other types.
Diffstat (limited to 'source/blender/editors/gizmo_library/gizmo_library_utils.c')
-rw-r--r-- | source/blender/editors/gizmo_library/gizmo_library_utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/gizmo_library/gizmo_library_utils.c b/source/blender/editors/gizmo_library/gizmo_library_utils.c index 07c230c5503..a53fb894a34 100644 --- a/source/blender/editors/gizmo_library/gizmo_library_utils.c +++ b/source/blender/editors/gizmo_library/gizmo_library_utils.c @@ -121,7 +121,7 @@ void gizmo_property_data_update( return; } - float value = WM_gizmo_target_property_value_get(gz, gz_prop); + float value = WM_gizmo_target_property_float_get(gz, gz_prop); if (constrained) { if ((data->flag & GIZMO_CUSTOM_RANGE_SET) == 0) { @@ -145,7 +145,7 @@ void gizmo_property_value_reset( bContext *C, const wmGizmo *gz, GizmoInteraction *inter, wmGizmoProperty *gz_prop) { - WM_gizmo_target_property_value_set(C, gz, gz_prop, inter->init_value); + WM_gizmo_target_property_float_set(C, gz, gz_prop, inter->init_value); } /* -------------------------------------------------------------------- */ |