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/windowmanager/gizmo/WM_gizmo_api.h | |
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/windowmanager/gizmo/WM_gizmo_api.h')
-rw-r--r-- | source/blender/windowmanager/gizmo/WM_gizmo_api.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/windowmanager/gizmo/WM_gizmo_api.h b/source/blender/windowmanager/gizmo/WM_gizmo_api.h index dd39cc96d6f..b59bdd4cf63 100644 --- a/source/blender/windowmanager/gizmo/WM_gizmo_api.h +++ b/source/blender/windowmanager/gizmo/WM_gizmo_api.h @@ -199,16 +199,16 @@ void WM_gizmo_target_property_clear_rna( bool WM_gizmo_target_property_is_valid_any(struct wmGizmo *gz); bool WM_gizmo_target_property_is_valid( const struct wmGizmoProperty *gz_prop); -float WM_gizmo_target_property_value_get( +float WM_gizmo_target_property_float_get( const struct wmGizmo *gz, struct wmGizmoProperty *gz_prop); -void WM_gizmo_target_property_value_set( +void WM_gizmo_target_property_float_set( struct bContext *C, const struct wmGizmo *gz, struct wmGizmoProperty *gz_prop, const float value); -void WM_gizmo_target_property_value_get_array( +void WM_gizmo_target_property_float_get_array( const struct wmGizmo *gz, struct wmGizmoProperty *gz_prop, float *value); -void WM_gizmo_target_property_value_set_array( +void WM_gizmo_target_property_float_set_array( struct bContext *C, const struct wmGizmo *gz, struct wmGizmoProperty *gz_prop, const float *value); |