Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaia Clary <gaia.clary@machinimatrix.org>2013-03-03 03:42:03 +0400
committerGaia Clary <gaia.clary@machinimatrix.org>2013-03-03 03:42:03 +0400
commit24437b6171396ead93756db7026688543adcc9fa (patch)
tree26c64b1925c444ea0f10236ca8f7cfa0b13693aa /source/blender/collada/collada_utils.cpp
parent1c5f18f42b4de1dcd90dcb134105db9e11d14d5a (diff)
partial revert of collada triangulation code due to problems on linux
Diffstat (limited to 'source/blender/collada/collada_utils.cpp')
-rw-r--r--source/blender/collada/collada_utils.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/source/blender/collada/collada_utils.cpp b/source/blender/collada/collada_utils.cpp
index d8f15696c6d..cc7ba4f50fa 100644
--- a/source/blender/collada/collada_utils.cpp
+++ b/source/blender/collada/collada_utils.cpp
@@ -35,6 +35,7 @@
#include "collada_utils.h"
extern "C" {
+
#include "DNA_modifier_types.h"
#include "DNA_customdata_types.h"
#include "DNA_object_types.h"
@@ -44,7 +45,6 @@ extern "C" {
#include "BLI_math.h"
#include "BLI_linklist.h"
-
#include "BKE_context.h"
#include "BKE_customdata.h"
#include "BKE_depsgraph.h"
@@ -56,7 +56,8 @@ extern "C" {
#include "WM_api.h" // XXX hrm, see if we can do without this
#include "WM_types.h"
-#include "bmesh.h"
+
+//#include "bmesh.h"
}
@@ -385,10 +386,13 @@ void bc_match_scale(std::vector<Object *> *objects_done,
void bc_triangulate_mesh(Mesh *me) {
bool use_beauty = false;
bool tag_only = false;
-
+
+/*
BMesh *bm = BM_mesh_create(&bm_mesh_allocsize_default);
BM_mesh_bm_from_me(bm, me, FALSE, 0);
BM_mesh_triangulate(bm, use_beauty, tag_only, NULL, NULL);
BM_mesh_bm_to_me(bm, me, FALSE);
BM_mesh_free(bm);
+*/
+
}