Group duplicator fix: the invisible group objects didn't draw, but were

still visible in render.
This commit is contained in:
Ton Roosendaal 2006-11-15 08:20:53 +00:00
parent 2e55867c23
commit 206f2cab67

@ -3348,6 +3348,10 @@ void RE_Database_FromScene(Render *re, Scene *scene, int use_camera_view)
Mat4CpyMat4(obd->obmat, dob->mat); Mat4CpyMat4(obd->obmat, dob->mat);
/* group duplis need to set ob matrices correct, for deform. so no_draw is part handled */
if(dob->no_draw)
continue;
if(obd->type!=OB_MBALL) { if(obd->type!=OB_MBALL) {
#ifndef DISABLE_YAFRAY #ifndef DISABLE_YAFRAY
/* yafray: special case handling of duplivert/dupligroup objects. /* yafray: special case handling of duplivert/dupligroup objects.