[Bf-blender-cvs] [936a685] blender-v2.76-release: Don't expand toggle brush on linking

Sergey Sharybin noreply at git.blender.org
Tue Nov 3 11:56:54 CET 2015


Commit: 936a685ea897cfd73086d0d1c3d64a290d652ecc
Author: Sergey Sharybin
Date:   Tue Nov 3 15:29:49 2015 +0500
Branches: blender-v2.76-release
https://developer.blender.org/rB936a685ea897cfd73086d0d1c3d64a290d652ecc

Don't expand toggle brush on linking

Toggle brush is more a runtime only feature, not really supposed to be used
as real ID linking as it's done for modifiers i.e.

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

M	source/blender/blenloader/intern/readfile.c

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

diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 2da3f39..5dcc5b3 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -8772,7 +8772,6 @@ static void expand_brush(FileData *fd, Main *mainvar, Brush *brush)
 	expand_doit(fd, mainvar, brush->mtex.tex);
 	expand_doit(fd, mainvar, brush->mask_mtex.tex);
 	expand_doit(fd, mainvar, brush->clone.image);
-	expand_doit(fd, mainvar, brush->toggle_brush);
 	expand_doit(fd, mainvar, brush->paint_curve);
 }




More information about the Bf-blender-cvs mailing list