[Bf-committers] a litle improve 5 (fix bug 990)

Joilnen Batista Leite bf-committers@blender.org
Mon, 1 Mar 2004 11:38:05 -0800 (PST)


--0-1035425100-1078169885=:65772
Content-Type: text/plain; charset=us-ascii
Content-Id: 
Content-Disposition: inline

i think this attach fix bug 990 
 
very thanks Joilnen
 
 
sorry if is a dumb question and thanks for atention
  
pub 1024D/5139533E Joilnen Batista Leite 
F565 BD0B 1A39 390D 827E 03E5 0CD4 0F20 5139 533E



__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools
--0-1035425100-1078169885=:65772
Content-Type: text/plain; name=convertBlenderScene_patch
Content-Description: convertBlenderScene_patch
Content-Disposition: inline; filename=convertBlenderScene_patch

--- /home/joilnen/blender_source/blender/source/blender/renderconverter/intern/convertBlenderScene.c	2004-01-27 05:55:32.000000000 -0300
+++ source/blender/renderconverter/intern/convertBlenderScene.c	2004-02-29 11:04:32.000000000 -0300
@@ -2957,7 +2957,7 @@
 					   yafray only needs to know about one, the rest can be instanciated.
 					   The dupliMtx list is used for this purpose */
 					if (R.r.renderer==R_YAFRAY) {
-						if ((ob->type!=OB_LAMP) && (YAF_objectKnownData(ob)))
+						if ((ob->type!=OB_LAMP&&ob->type!=OB_EMPTY) && (YAF_objectKnownData(ob)))
 							printf("Added dupli matrix for linked data object %s\n", ob->id.name);
 						else
 							init_render_object(ob);


pub  1024D/5139533E Joilnen Batista Leite 
F565 BD0B 1A39 390D 827E  03E5 0CD4 0F20 5139 533E


--0-1035425100-1078169885=:65772--