diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-12-15 02:47:58 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-12-15 04:34:14 +0300 |
commit | 525364be31aafa547f4b17b9947074ed5a5b2570 (patch) | |
tree | 1826a3cb8ae72f0f2c936c419366323c88b21215 /source/blender/editors/mesh | |
parent | 15f2f69694cb23d04989d3faea4853468a3b140a (diff) |
Cleanup: reduce indirect DNA header inclusion
Remove DNA headers, using forward declarations where possible.
Also removed duplicate header, header including it's self
and unnecessary inclusion of libc system headers from BKE header.
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r-- | source/blender/editors/mesh/editmesh_select_similar.c | 1 | ||||
-rw-r--r-- | source/blender/editors/mesh/editmesh_undo.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/mesh/editmesh_select_similar.c b/source/blender/editors/mesh/editmesh_select_similar.c index 00349983c57..d762eede079 100644 --- a/source/blender/editors/mesh/editmesh_select_similar.c +++ b/source/blender/editors/mesh/editmesh_select_similar.c @@ -34,6 +34,7 @@ #include "BKE_material.h" #include "BKE_report.h" +#include "DNA_material_types.h" #include "DNA_meshdata_types.h" #include "WM_api.h" diff --git a/source/blender/editors/mesh/editmesh_undo.c b/source/blender/editors/mesh/editmesh_undo.c index 43cad2db185..cff5414da75 100644 --- a/source/blender/editors/mesh/editmesh_undo.c +++ b/source/blender/editors/mesh/editmesh_undo.c @@ -27,6 +27,7 @@ #include "DNA_mesh_types.h" #include "DNA_meshdata_types.h" #include "DNA_object_types.h" +#include "DNA_scene_types.h" #include "BLI_array_utils.h" #include "BLI_listbase.h" |