From 4b2110fc86e59136efd7ea294453678e848b4b74 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Wed, 7 Nov 2018 15:37:31 +0100 Subject: Cleanup: Remove 'BKE_library.h' include from 'BKE_main.h' That kind of implicit includes should really only be done when totally, absolutely necessary, and ideally only with rather simple 'second-level' headers. Otherwise not being explicit with includes always end up biting in unexpected ways... --- source/blender/collada/ImageExporter.cpp | 1 + source/blender/collada/collada_utils.cpp | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'source/blender/collada') diff --git a/source/blender/collada/ImageExporter.cpp b/source/blender/collada/ImageExporter.cpp index bb3cebf4cf0..23e67733e9c 100644 --- a/source/blender/collada/ImageExporter.cpp +++ b/source/blender/collada/ImageExporter.cpp @@ -37,6 +37,7 @@ extern "C" { #include "BKE_customdata.h" #include "BKE_global.h" #include "BKE_image.h" +#include "BKE_library.h" #include "BKE_main.h" #include "BKE_mesh.h" #include "BLI_fileops.h" diff --git a/source/blender/collada/collada_utils.cpp b/source/blender/collada/collada_utils.cpp index 4fae65fab38..a70ff3a7c8f 100644 --- a/source/blender/collada/collada_utils.cpp +++ b/source/blender/collada/collada_utils.cpp @@ -49,11 +49,12 @@ extern "C" { #include "BKE_customdata.h" #include "BKE_object.h" #include "BKE_global.h" +#include "BKE_library.h" +#include "BKE_main.h" #include "BKE_layer.h" #include "BKE_mesh.h" #include "BKE_mesh_runtime.h" #include "BKE_scene.h" -#include "BKE_main.h" #include "ED_armature.h" -- cgit v1.2.3