[cgkit-commits] cgkit2/wrappers/lib3ds material.cpp,1.1.1.1,1.2
Brought to you by:
mbaas
From: Matthias B. <mb...@us...> - 2005-04-22 13:35:16
|
Update of /cvsroot/cgkit/cgkit2/wrappers/lib3ds In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6443/wrappers/lib3ds Modified Files: material.cpp Log Message: Check for the lib3ds version and only include the self illumination percentage attribute if the version is >1.2.0 Index: material.cpp =================================================================== RCS file: /cvsroot/cgkit/cgkit2/wrappers/lib3ds/material.cpp,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** material.cpp 12 Dec 2004 14:32:51 -0000 1.1.1.1 --- material.cpp 22 Apr 2005 13:35:07 -0000 1.2 *************** *** 49,53 **** --- 49,55 ---- .def_readonly("use_falloff", &Lib3dsMaterial::use_falloff) .def_readonly("self_illum", &Lib3dsMaterial::self_illum) + #ifdef LIB3DS_VERSION // if it's defined the version is already greater than 1.2.0 .def_readonly("self_ilpct", &Lib3dsMaterial::self_ilpct) + #endif .def_readonly("shading", &Lib3dsMaterial::shading) .def_readonly("soften", &Lib3dsMaterial::soften) |