Assorted GCC fixes for OpenCOLLADA support

This commit is contained in:
Nathan Letwory 2010-10-06 12:04:56 +00:00
parent 7245280f6c
commit e161c22dc2
4 changed files with 11 additions and 3 deletions

@ -35,7 +35,7 @@
#include "BKE_action.h"
#include "BKE_armature.h"
#include "BLI_listBase.h"
#include "BLI_listbase.h"
#include "GeometryExporter.h"
#include "ArmatureExporter.h"

@ -186,7 +186,7 @@ void forEachMaterialInScene(Scene *sce, Functor &f)
{
ForEachMaterialFunctor<Functor> matfunc(&f);
GeometryFunctor gf;
gf.forEachMeshObjectInScene<ForEachMaterialFunctor<Functor>>(sce, matfunc);
gf.forEachMeshObjectInScene<ForEachMaterialFunctor<Functor> >(sce, matfunc);
}
// OB_MESH is assumed

@ -24,6 +24,10 @@
#include <algorithm>
#ifndef WIN32
#include <iostream>
#endif
#include "COLLADAFWMeshPrimitive.h"
#include "COLLADAFWMeshVertexData.h"
#include "COLLADAFWPolygons.h"
@ -904,4 +908,4 @@ bool MeshImporter::write_geometry(const COLLADAFW::Geometry* geom)
mesh_calc_normals(me->mvert, me->totvert, me->mface, me->totface, NULL);
return true;
}
}

@ -24,6 +24,10 @@
#include <algorithm>
#ifndef WIN32
#include <stdint.h>
#endif
#include "BKE_object.h"
#include "DNA_armature_types.h"
#include "DNA_modifier_types.h"