Subversion Repositories gelsvn

Rev

Rev 195 | Rev 299 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 195 Rev 198
Line 159... Line 159...
159
    return true;
159
    return true;
160
}
160
}
161
 
161
 
162
void enable_textures(TriMesh& tm)
162
void enable_textures(TriMesh& tm)
163
{
163
{
164
    for(int i=0;i<tm.materials.size(); ++i)
164
    for(unsigned int i=0;i<tm.materials.size(); ++i)
165
    {
165
    {
166
        Material& mat = tm.materials[i];
166
        Material& mat = tm.materials[i];
167
        if(mat.tex_name != "")
167
        if(mat.tex_name != "")
168
        {
168
        {
169
            string name = mat.tex_path + mat.tex_name;
169
            string name = mat.tex_path + mat.tex_name;