From 206f2cab674e59f55e54a7aa9c35071f2b492009 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Wed, 15 Nov 2006 08:20:53 +0000 Subject: [PATCH] Group duplicator fix: the invisible group objects didn't draw, but were still visible in render. --- source/blender/render/intern/source/convertblender.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/blender/render/intern/source/convertblender.c b/source/blender/render/intern/source/convertblender.c index 99f92b0f466..c294eea4896 100644 --- a/source/blender/render/intern/source/convertblender.c +++ b/source/blender/render/intern/source/convertblender.c @@ -3348,6 +3348,10 @@ void RE_Database_FromScene(Render *re, Scene *scene, int use_camera_view) 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) { #ifndef DISABLE_YAFRAY /* yafray: special case handling of duplivert/dupligroup objects.