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:
authorJoshua Leung <aligorith@gmail.com>2018-07-30 17:57:53 +0300
committerJoshua Leung <aligorith@gmail.com>2018-07-30 18:04:32 +0300
commitd28248595b5936ed5f268418ff9905200660ec69 (patch)
tree4052254f0ae7a749ee26ac8cfaa8c0a77b52f4e3 /source/blender/windowmanager/gizmo
parenta3b6ae9fb9dd76538ec04b9fa6953490d321dd32 (diff)
Silencing a bunch of compiler warnings
Most of these were mismatched const qualifiers
Diffstat (limited to 'source/blender/windowmanager/gizmo')
-rw-r--r--source/blender/windowmanager/gizmo/WM_gizmo_api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/gizmo/WM_gizmo_api.h b/source/blender/windowmanager/gizmo/WM_gizmo_api.h
index 9b8cecfb4bc..dd39cc96d6f 100644
--- a/source/blender/windowmanager/gizmo/WM_gizmo_api.h
+++ b/source/blender/windowmanager/gizmo/WM_gizmo_api.h
@@ -104,7 +104,7 @@ void WM_gizmo_set_matrix_offset_rotation_from_yz_axis(
struct wmGizmo *gz, const float y_axis[3], const float z_axis[3]);
void WM_gizmo_set_flag(struct wmGizmo *gz, const int flag, const bool enable);
-void WM_gizmo_set_scale(struct wmGizmo *gz, float scale);
+void WM_gizmo_set_scale(struct wmGizmo *gz, const float scale);
void WM_gizmo_set_line_width(struct wmGizmo *gz, const float line_width);
void WM_gizmo_get_color(const struct wmGizmo *gz, float color[4]);