Revision: 23678
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=23678
Author:   campbellbarton
Date:     2009-10-07 07:26:13 +0200 (Wed, 07 Oct 2009)

Log Message:
-----------
own warnings added last commit

Modified Paths:
--------------
    trunk/blender/source/blender/makesrna/intern/rna_material.c

Modified: trunk/blender/source/blender/makesrna/intern/rna_material.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_material.c 2009-10-07 
05:16:23 UTC (rev 23677)
+++ trunk/blender/source/blender/makesrna/intern/rna_material.c 2009-10-07 
05:26:13 UTC (rev 23678)
@@ -59,6 +59,7 @@
 #include "BKE_depsgraph.h"
 #include "BKE_main.h"
 #include "BKE_texture.h"
+#include "BKE_node.h"
 
 #include "ED_node.h"
 
@@ -176,7 +177,7 @@
        Material *ma= (Material*)ptr->data;
        Material *ma_act= value.data;
 
-       nodeSetActiveID(ma->nodetree, ID_MA, ma_act);
+       nodeSetActiveID(ma->nodetree, ID_MA, &ma_act->id);
 }
 
 static void rna_MaterialStrand_start_size_range(PointerRNA *ptr, float *min, 
float *max)


_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to