Fixed comparison to properly handle texture coordinates being assigned
This commit is contained in:
@@ -63,7 +63,8 @@ namespace glesUtil {
|
||||
_geometry->setPrimitiveSetList(morph.getPrimitiveSetList());
|
||||
|
||||
_hasTexCoord = !_geometry->getTexCoordArrayList().empty();
|
||||
if(!_hasTexCoord) {
|
||||
if(_hasTexCoord)
|
||||
{
|
||||
_geometry->setTexCoordArrayList(morph.getTexCoordArrayList());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user