Jump to content

[SOLVED] Cut and paste error in code


photo

Recommended Posts

Hello,

Don't know how critical this is but 2.9, 2.10 and 2.11 alpha all have:

int Mesh::getNumIndices(int surface) const
{
    int num_cindices = getCIndices(surface).size();
    int num_tindices = getCIndices(surface).size();
    if (num_cindices != num_tindices)
        Log::error("Mesh::getNumIndices(): bad number of indices\n");
    return getCIndices(surface).size();
}

of course it should be int num_tindices = getTIndices(surface).size();

Regards,

Adrian L.

Edited by adrian.licuriceanu
Link to comment
  • 3 months later...

Hi, I don't know how critical this is. We are reviewing the source and stumble upon this again and I can see that is still not fixed in 2.12.

Kind Regards,

Adrian L.

Link to comment
  • silent changed the title to [SOLVED] Cut and paste error in code
×
×
  • Create New...