From: <re...@us...> - 2004-04-30 22:35:32
|
Update of /cvsroot/crystal/CS/plugins/mesh/cloth/object In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24628/plugins/mesh/cloth/object Modified Files: clothobj.cpp Log Message: res replaced CS_FX_GOURAUD with CS_FX_FLAT, which is doing the opposite. Nowadays, gouraud shading is common and flat shading the exception, so it makes more sense to have the latter explicitly specified. Index: clothobj.cpp =================================================================== RCS file: /cvsroot/crystal/CS/plugins/mesh/cloth/object/clothobj.cpp,v retrieving revision 1.25 retrieving revision 1.26 diff -u -d -r1.25 -r1.26 --- clothobj.cpp 26 Apr 2004 12:02:37 -0000 1.25 +++ clothobj.cpp 30 Apr 2004 22:34:53 -0000 1.26 @@ -251,7 +251,7 @@ material->Visit (); mesh.mat_handle = mat; mesh.use_vertex_color =true; - mesh.mixmode = MixMode | CS_FX_GOURAUD; + mesh.mixmode = MixMode; CS_ASSERT (!vbuf->IsLocked ()); vbufmgr->LockBuffer (vbuf,vertices, texels, colors, num_vertices, 0, object_bbox); |