Fix collada build after gawain rename/refactor

Collada files should not have been touched.

Bug introduced on: c31f24c63b
This commit is contained in:
Dalai Felinto 2017-06-20 15:42:06 +02:00
parent c31f24c63b
commit 63d71edfca
1 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ static const std::string bc_get_dae_name(T *node)
return node->getName().size() ? node->getName(): node->getOriginalId();
}
static const char *bc_primTypeToStr(COLLADAFW::MeshPrimitive::Gwn_PrimType type)
static const char *bc_primTypeToStr(COLLADAFW::MeshPrimitive::PrimitiveType type)
{
switch (type) {
case COLLADAFW::MeshPrimitive::LINES:
@ -274,7 +274,7 @@ bool MeshImporter::is_nice_mesh(COLLADAFW::Mesh *mesh) // checks if mesh has su
for (unsigned i = 0; i < prim_arr.getCount(); i++) {
COLLADAFW::MeshPrimitive *mp = prim_arr[i];
COLLADAFW::MeshPrimitive::Gwn_PrimType type = mp->getPrimitiveType();
COLLADAFW::MeshPrimitive::PrimitiveType type = mp->getPrimitiveType();
const char *type_str = bc_primTypeToStr(type);