diff options
author | Matt Ebb <matt@mke3.net> | 2010-03-09 10:41:27 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2010-03-09 10:41:27 +0300 |
commit | ec303cf980a696fa374dad3b1cdfd6440ed7f846 (patch) | |
tree | 578a4dfbf7f86ad49982c257276c6bab2592db1a /source/blender/blenloader | |
parent | d4756d395bde04dc6cfeed696df1c38211ffbff9 (diff) |
Fix [#21188] HueCorrection Node, when reseting Curve, it goes to a incline instead of flat/straight
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index fbde733f717..b80e3df717c 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -10647,6 +10647,11 @@ static void do_versions(FileData *fd, Library *lib, Main *main) /* put 2.50 compatibility code here until next subversion bump */ { + Brush *brush; + + for (brush= main->brush.first; brush; brush= brush->id.next) { + if (brush->curve) brush->curve->preset = CURVE_PRESET_SMOOTH; + } } /* WATCH IT!!!: pointers from libdata have not been converted yet here! */ |