#include #include #include "abs-file.h" #include "readblend.h" #include "blendtype.h" #define MAX_MESHES 10 bMesh gMeshes[MAX_MESHES]; int gNumMesh = 0; #define MAX_OBJECTS 10 bObj gObjects[MAX_OBJECTS]; int gNumObjects = 0; void crawl(BlendFile* blend_file, BlendObject obj) { BlendObject data_obj; BlendObject data_obj2; BlendBlock* tmpBlock=0; { const char* type_name = blend_file->types[obj.type].name; if (strcmp(type_name,"Object")==0) { if (gNumObjects