Bugfix, Peach collection:
authorTon Roosendaal <ton@blender.org>
Wed, 26 Dec 2007 16:15:27 +0000 (16:15 +0000)
committerTon Roosendaal <ton@blender.org>
Wed, 26 Dec 2007 16:15:27 +0000 (16:15 +0000)
- new "preview" image in material caused crash because copy/paste material
  didn't support it yet.

source/blender/src/header_buttonswin.c

index 4dc1124a8bd6590f445073088911b47892ea3fe9..3519c1f582cd43f290bd26b1974fcdc7df333aa9 100644 (file)
@@ -170,6 +170,7 @@ void do_buts_buttons(short event)
                                }
                        }
                        matcopybuf.nodetree= ntreeCopyTree(ma->nodetree, 0);
+                       matcopybuf.preview= NULL;
                        matcopied= 1;
                }
                break;