[Bf-blender-cvs] [ab6f449] master: T41650

Antony Riakiotakis noreply at git.blender.org
Sun Aug 31 16:49:46 CEST 2014


Commit: ab6f4491ea83477ea9ed0a0e93d21ca5ac2254f7
Author: Antony Riakiotakis
Date:   Sun Aug 31 16:47:54 2014 +0200
Branches: master
https://developer.blender.org/rBab6f4491ea83477ea9ed0a0e93d21ca5ac2254f7

T41650

Typo in material localization code.

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

M	source/blender/blenkernel/intern/material.c

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

diff --git a/source/blender/blenkernel/intern/material.c b/source/blender/blenkernel/intern/material.c
index 574d458..eeca60f 100644
--- a/source/blender/blenkernel/intern/material.c
+++ b/source/blender/blenkernel/intern/material.c
@@ -274,7 +274,7 @@ Material *localize_material(Material *ma)
 	if (ma->ramp_col) man->ramp_col = MEM_dupallocN(ma->ramp_col);
 	if (ma->ramp_spec) man->ramp_spec = MEM_dupallocN(ma->ramp_spec);
 
-	ma->texpaintslot = NULL;
+	man->texpaintslot = NULL;
 	man->preview = NULL;
 	
 	if (ma->nodetree)




More information about the Bf-blender-cvs mailing list