Collada: (Export) Added export of surface textures, and control over exported uv layers

This commit is contained in:
2012-06-22 16:16:58 +00:00
parent 257283e030
commit adf3a5e332
18 changed files with 414 additions and 141 deletions

View File

@@ -275,3 +275,9 @@ bool bc_is_root_bone(Bone *aBone, bool deform_bones_only)
else
return !(aBone->parent);
}
int bc_get_active_UVLayer(Object *ob)
{
Mesh *me = (Mesh *)ob->data;
return CustomData_get_active_layer_index(&me->fdata, CD_MTFACE);
}