Bugfix for another issue with last render instancing commit,
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 22 Jan 2008 12:10:59 +0000 (12:10 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 22 Jan 2008 12:10:59 +0000 (12:10 +0000)
objects could get created multiple times.

source/blender/render/intern/source/convertblender.c

index 3803053f9ee2a3708417d9e5251065ce976520f9..3faaec4c00cdccee1bfde8b0ccda8d9add21dbcf 100644 (file)
@@ -4316,8 +4316,6 @@ static void database_init_objects(Render *re, unsigned int lay, int nolamps, int
                                                                else
                                                                        assign_dupligroup_dupli(re, obi, obr);
                                                        }
-                                                       else
-                                                               init_render_object(re, obd, ob, dob->index, only_verts, !dob->animated);
                                                }
                                                
                                                if(dob->type != OB_DUPLIGROUP) {