[Bf-blender-cvs] [44f09c9] master: Use line curve for cavity mask instead of sharp as default when no curve is found during loading
Antony Riakiotakis
noreply at git.blender.org
Wed Feb 11 15:30:06 CET 2015
Commit: 44f09c93d1e2b627c30186a446eee8d39f45ccbc
Author: Antony Riakiotakis
Date: Wed Feb 11 15:27:50 2015 +0100
Branches: master
https://developer.blender.org/rB44f09c93d1e2b627c30186a446eee8d39f45ccbc
Use line curve for cavity mask instead of sharp as default when no curve
is found during loading
===================================================================
M source/blender/blenloader/intern/readfile.c
===================================================================
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 5e48136..66fbca3 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -5437,7 +5437,7 @@ static void direct_link_paint(FileData *fd, Paint *p)
if (p->cavity_curve)
direct_link_curvemapping(fd, p->cavity_curve);
else
- BKE_paint_cavity_curve_preset(p, CURVE_PRESET_SHARP);
+ BKE_paint_cavity_curve_preset(p, CURVE_PRESET_LINE);
}
static void direct_link_paint_helper(FileData *fd, Paint **paint)
More information about the Bf-blender-cvs
mailing list