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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-10-14 23:37:15 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-10-14 23:37:15 +0400
commitc0d204b91e348a0ff1f97164a0697d38aff72d4c (patch)
treebf0bf088a5456a81daf6db9ea4654d02359803e5 /source/blender/blenloader
parent95812e1cfcd68e911a03422cb1bf441e29f1dd29 (diff)
Fix Brush datablock writing MTex blocks to .blend files twice.
Patch by Janis Streib.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/writefile.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c
index a2c91969cf8..83122e24b34 100644
--- a/source/blender/blenloader/intern/writefile.c
+++ b/source/blender/blenloader/intern/writefile.c
@@ -2903,9 +2903,6 @@ static void write_brushes(WriteData *wd, ListBase *idbase)
writestruct(wd, ID_BR, "Brush", 1, brush);
if (brush->id.properties) IDP_WriteProperty(brush->id.properties, wd);
- writestruct(wd, DATA, "MTex", 1, &brush->mtex);
- writestruct(wd, DATA, "MTex", 1, &brush->mask_mtex);
-
if (brush->curve)
write_curvemapping(wd, brush->curve);
}