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/blenloader | |
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/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/undofile.c | 1 | ||||
-rw-r--r-- | source/blender/blenloader/intern/versioning_280.c | 15 |
2 files changed, 9 insertions, 7 deletions
diff --git a/source/blender/blenloader/intern/undofile.c b/source/blender/blenloader/intern/undofile.c index 614a3be559b..b38259f0f98 100644 --- a/source/blender/blenloader/intern/undofile.c +++ b/source/blender/blenloader/intern/undofile.c @@ -53,6 +53,7 @@ #include "BLO_undofile.h" #include "BLO_readfile.h" +#include "BKE_library.h" #include "BKE_main.h" /* keep last */ diff --git a/source/blender/blenloader/intern/versioning_280.c b/source/blender/blenloader/intern/versioning_280.c index 040c08eb63f..fc873e3a3a1 100644 --- a/source/blender/blenloader/intern/versioning_280.c +++ b/source/blender/blenloader/intern/versioning_280.c @@ -63,31 +63,32 @@ #include "DNA_armature_types.h" #include "BKE_action.h" +#include "BKE_cloth.h" #include "BKE_collection.h" #include "BKE_constraint.h" -#include "BKE_customdata.h" #include "BKE_colortools.h" +#include "BKE_customdata.h" #include "BKE_freestyle.h" +#include "BKE_gpencil.h" #include "BKE_idprop.h" #include "BKE_image.h" +#include "BKE_key.h" +#include "BKE_library.h" #include "BKE_layer.h" #include "BKE_main.h" #include "BKE_material.h" #include "BKE_mesh.h" #include "BKE_node.h" +#include "BKE_object.h" +#include "BKE_paint.h" #include "BKE_pointcache.h" #include "BKE_report.h" #include "BKE_scene.h" #include "BKE_screen.h" #include "BKE_sequencer.h" #include "BKE_studiolight.h" -#include "BKE_workspace.h" -#include "BKE_gpencil.h" -#include "BKE_paint.h" -#include "BKE_object.h" -#include "BKE_cloth.h" -#include "BKE_key.h" #include "BKE_unit.h" +#include "BKE_workspace.h" /* Only for IMB_BlendMode */ #include "IMB_imbuf.h" |