[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [60754] trunk/blender/source/blender/ blenloader/intern/writefile.c: Fix Brush datablock writing MTex blocks to . blend files twice.

Brecht Van Lommel brechtvanlommel at pandora.be
Mon Oct 14 21:37:15 CEST 2013


Revision: 60754
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60754
Author:   blendix
Date:     2013-10-14 19:37:15 +0000 (Mon, 14 Oct 2013)
Log Message:
-----------
Fix Brush datablock writing MTex blocks to .blend files twice.
Patch by Janis Streib.

Modified Paths:
--------------
    trunk/blender/source/blender/blenloader/intern/writefile.c

Modified: trunk/blender/source/blender/blenloader/intern/writefile.c
===================================================================
--- trunk/blender/source/blender/blenloader/intern/writefile.c	2013-10-14 19:37:12 UTC (rev 60753)
+++ trunk/blender/source/blender/blenloader/intern/writefile.c	2013-10-14 19:37:15 UTC (rev 60754)
@@ -2903,9 +2903,6 @@
 			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);
 		}




More information about the Bf-blender-cvs mailing list