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/editors/util/ed_util.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source/blender/editors/util/ed_util.c') diff --git a/source/blender/editors/util/ed_util.c b/source/blender/editors/util/ed_util.c index d340938495d..50428a1ca9d 100644 --- a/source/blender/editors/util/ed_util.c +++ b/source/blender/editors/util/ed_util.c @@ -53,15 +53,16 @@ #include "BKE_context.h" #include "BKE_global.h" +#include "BKE_layer.h" +#include "BKE_library.h" #include "BKE_main.h" #include "BKE_multires.h" #include "BKE_object.h" #include "BKE_packedFile.h" #include "BKE_paint.h" #include "BKE_screen.h" -#include "BKE_workspace.h" -#include "BKE_layer.h" #include "BKE_undo_system.h" +#include "BKE_workspace.h" #include "ED_armature.h" #include "ED_buttons.h" -- cgit v1.2.3