[Bf-blender-cvs] [094d916c60] master: Fix compilation error with strict flags

Sergey Sharybin noreply at git.blender.org
Fri Jan 20 17:48:01 CET 2017


Commit: 094d916c603e2b150404388f9d9287942b589abe
Author: Sergey Sharybin
Date:   Fri Jan 20 17:47:09 2017 +0100
Branches: master
https://developer.blender.org/rB094d916c603e2b150404388f9d9287942b589abe

Fix compilation error with strict flags

===================================================================

M	source/blender/editors/space_view3d/drawanimviz.c

===================================================================

diff --git a/source/blender/editors/space_view3d/drawanimviz.c b/source/blender/editors/space_view3d/drawanimviz.c
index 975936b61a..f0e65f8420 100644
--- a/source/blender/editors/space_view3d/drawanimviz.c
+++ b/source/blender/editors/space_view3d/drawanimviz.c
@@ -85,7 +85,7 @@ void draw_motion_paths_init(View3D *v3d, ARegion *ar)
 * - 50% Darker color for current frame
 * - User selected color for next frames
 */
-void set_motion_path_color(Scene *scene, bMotionPath *mpath, int i, short sel, int sfra, int efra, 
+static void set_motion_path_color(Scene *scene, bMotionPath *mpath, int i, short sel, int sfra, int efra,
 	float prev_color[3], float frame_color[3], float next_color[3])
 {
 	int frame = sfra + i;




More information about the Bf-blender-cvs mailing list