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:
authorSybren A. Stüvel <sybren@stuvel.eu>2018-06-05 17:58:08 +0300
committerSybren A. Stüvel <sybren@stuvel.eu>2018-06-05 17:59:25 +0300
commitce6db959c7d96792edad3a6d606e3662a4ef0798 (patch)
tree47eb47687a5cd3cc0c149c588dd3f9851ccb085d /source/blender/blenkernel/intern/mesh_runtime.c
parenta9ed50514cb636d3fa99ab7b309d0c75da437943 (diff)
Moved function declarations from BKE_DerivedMesh.h to BKE_mesh_runtime.h
The function definitions still reside in DerivedMesh.c. Once we're done porting all the DerivedMesh use to Mesh, we'll move the still-relevant functions to mesh_runtime.c. This move is now cumbersome due to shared statically-declared utility functions in DerivedMesh.c
Diffstat (limited to 'source/blender/blenkernel/intern/mesh_runtime.c')
-rw-r--r--source/blender/blenkernel/intern/mesh_runtime.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/mesh_runtime.c b/source/blender/blenkernel/intern/mesh_runtime.c
index 86d3cf7a0c8..2109a465c55 100644
--- a/source/blender/blenkernel/intern/mesh_runtime.c
+++ b/source/blender/blenkernel/intern/mesh_runtime.c
@@ -35,6 +35,7 @@
#include "DNA_mesh_types.h"
#include "DNA_meshdata_types.h"
+#include "DNA_object_types.h"
#include "BLI_math_geom.h"
#include "BLI_threads.h"
@@ -43,6 +44,10 @@
#include "BKE_mesh.h"
#include "BKE_mesh_runtime.h"
+#ifdef WITH_DERIVEDMESH
+#include "BKE_DerivedMesh.h"
+#endif
+
/* -------------------------------------------------------------------- */
/** \name Mesh Runtime Struct Utils
* \{ */