diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-11-07 17:37:31 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-11-07 22:58:53 +0300 |
commit | 4b2110fc86e59136efd7ea294453678e848b4b74 (patch) | |
tree | 5b313949860b4b73839a5be6a7d2d94d4641955e /source/blender/editors/screen | |
parent | 4779165ca18ae3ced005aad129575b70fc6c4f9d (diff) |
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...
Diffstat (limited to 'source/blender/editors/screen')
-rw-r--r-- | source/blender/editors/screen/screen_ops.c | 5 | ||||
-rw-r--r-- | source/blender/editors/screen/screendump.c | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c index 41e5ca6b611..3325985c829 100644 --- a/source/blender/editors/screen/screen_ops.c +++ b/source/blender/editors/screen/screen_ops.c @@ -55,17 +55,18 @@ #include "BKE_context.h" #include "BKE_customdata.h" +#include "BKE_editmesh.h" #include "BKE_fcurve.h" #include "BKE_global.h" #include "BKE_icons.h" +#include "BKE_library.h" #include "BKE_main.h" +#include "BKE_mask.h" #include "BKE_object.h" #include "BKE_report.h" #include "BKE_scene.h" #include "BKE_screen.h" -#include "BKE_editmesh.h" #include "BKE_sound.h" -#include "BKE_mask.h" #include "BKE_workspace.h" #include "WM_api.h" diff --git a/source/blender/editors/screen/screendump.c b/source/blender/editors/screen/screendump.c index 9c0c59a7160..7aa75f1fdd1 100644 --- a/source/blender/editors/screen/screendump.c +++ b/source/blender/editors/screen/screendump.c @@ -46,8 +46,9 @@ #include "BKE_context.h" #include "BKE_global.h" -#include "BKE_main.h" #include "BKE_image.h" +#include "BKE_library.h" +#include "BKE_main.h" #include "BKE_report.h" #include "BIF_gl.h" |