Fixed comparison to properly handle texture coordinates being assigned

This commit is contained in:
Robert Osfield
2017-08-23 14:51:18 +01:00
parent 90e27d3b7d
commit 3b69755117

View File

@@ -63,7 +63,8 @@ namespace glesUtil {
_geometry->setPrimitiveSetList(morph.getPrimitiveSetList());
_hasTexCoord = !_geometry->getTexCoordArrayList().empty();
if(!_hasTexCoord) {
if(_hasTexCoord)
{
_geometry->setTexCoordArrayList(morph.getTexCoordArrayList());
}
}