[Bf-blender-cvs] [e18a944] soc-2013-viewport_fx: warning fix: removed unused function f_to_char

Jason Wilkins noreply at git.blender.org
Thu May 29 05:21:04 CEST 2014


Commit: e18a9440cc41f5063400403d965ee06d80423acc
Author: Jason Wilkins
Date:   Mon May 19 22:52:05 2014 -0500
https://developer.blender.org/rBe18a9440cc41f5063400403d965ee06d80423acc

warning fix: removed unused function f_to_char

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

M	source/blender/editors/sculpt_paint/paint_image_proj.c

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

diff --git a/source/blender/editors/sculpt_paint/paint_image_proj.c b/source/blender/editors/sculpt_paint/paint_image_proj.c
index e348458..f00153f 100644
--- a/source/blender/editors/sculpt_paint/paint_image_proj.c
+++ b/source/blender/editors/sculpt_paint/paint_image_proj.c
@@ -104,13 +104,6 @@
 
 #include "paint_intern.h"
 
-/* Defines and Structs */
-/* FTOCHAR as inline function */
-BLI_INLINE unsigned char f_to_char(const float val)
-{
-	return FTOCHAR(val);
-}
-
 /* ProjectionPaint defines */
 
 /* approx the number of buckets to have under the brush,




More information about the Bf-blender-cvs mailing list