[Bf-funboard] Default material, lamp, and camera types in .B.blend

Robert Wenzlaff bf-funboard@blender.org
Fri, 26 Sep 2003 14:52:11 -0400


At 10:15 AM 9/26/03 -0500, you wrote:
> > Thoughts?  Any other object types this would apply to?
> >
>
>Cool....
>We still need it to default to something "reasonable" when you say remove
>your .B.blend.  That way if you really get a hosed up material there is a
>way to "fix it".

Already thought of that...

if (G.main->mat.first) default_material=copy_material(G.main->mat.first);
else default_material=init_material( ... );

Bob