autosmooth (F9) was always on, when material Radio was set... should only
  be done when Radio render was on too.
This commit is contained in:
Ton Roosendaal
2003-11-28 21:09:41 +00:00
parent 8a5ab80621
commit 477c23112a

View File

@@ -1621,7 +1621,9 @@ static void init_render_mesh(Object *ob)
if(ok) {
/* radio faces need autosmooth, to separate shared vertices in corners */
if(ma->mode & MA_RADIO) do_autosmooth= 1;
if(R.r.mode & R_RADIO)
if(ma->mode & MA_RADIO)
do_autosmooth= 1;
start= 0;
end= me->totface;