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:
authorNicholas Bishop <nicholasbishop@gmail.com>2012-01-16 03:43:54 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2012-01-16 03:43:54 +0400
commitdc8b2197266899bd82bc0b625fd7aba0d8efe252 (patch)
tree835749a6b2918a159033979fc05df266e9a7ae6a /source/blender/editors/sculpt_paint/paint_utils.c
parent23806a2b7d50082d70a0e4ecab22aafb8433708a (diff)
Minor sculpt/paint cleanups.
Added some comments, constified a param, and moved a couple things around.
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_utils.c')
-rw-r--r--source/blender/editors/sculpt_paint/paint_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_utils.c b/source/blender/editors/sculpt_paint/paint_utils.c
index fdacc2d15f5..0705ea29985 100644
--- a/source/blender/editors/sculpt_paint/paint_utils.c
+++ b/source/blender/editors/sculpt_paint/paint_utils.c
@@ -152,7 +152,7 @@ void projectf(bglMats *mats, const float v[3], float p[2])
p[1]= uy;
}
-float paint_calc_object_space_radius(ViewContext *vc, float center[3],
+float paint_calc_object_space_radius(ViewContext *vc, const float center[3],
float pixel_radius)
{
Object *ob = vc->obact;