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:
authorAntony Riakiotakis <kalast@gmail.com>2013-03-14 07:47:20 +0400
committerAntony Riakiotakis <kalast@gmail.com>2013-03-14 07:47:20 +0400
commit568435285801db081824d5873e43911764fff5a0 (patch)
treed53482c4c0049d496b0c03d6e1400dfd55b5ead3 /source/blender/blenkernel/intern
parentd97050a7f668f75d7f0da5437cee42a2249a5a82 (diff)
Fix silly mistake that could lead to crash. Also, slight cleanup/rename
and comments
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r--source/blender/blenkernel/intern/brush.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/brush.c b/source/blender/blenkernel/intern/brush.c
index 636f6160b9f..5d7f9afa78c 100644
--- a/source/blender/blenkernel/intern/brush.c
+++ b/source/blender/blenkernel/intern/brush.c
@@ -472,7 +472,8 @@ int BKE_brush_clone_image_delete(Brush *brush)
return 0;
}
-/* Return a multiplier for brush strength on a particular vertex. */
+/* Generic texture sampler for 3D painting systems. point has to be either in
+ * region space mouse coordinates, or 3d world coordinates for 3D mapping */
float BKE_brush_sample_tex_3D(const Scene *scene, Brush *br,
const float point[3],
float rgba[3], const int thread,