From 4ca67869cc7ad480670d60eae1df3d2aca03f016 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 1 May 2014 03:55:41 +1000 Subject: Code cleanup: remove unused includes Opted to keep includes if they are used indirectly (even if removing is possible). --- source/blender/nodes/composite/node_composite_tree.c | 4 ---- source/blender/nodes/intern/node_common.c | 6 ------ source/blender/nodes/intern/node_exec.c | 1 - source/blender/nodes/intern/node_socket.c | 1 - source/blender/nodes/intern/node_util.c | 1 - 5 files changed, 13 deletions(-) (limited to 'source/blender/nodes') diff --git a/source/blender/nodes/composite/node_composite_tree.c b/source/blender/nodes/composite/node_composite_tree.c index a1bc369fd94..cd69cf4982d 100644 --- a/source/blender/nodes/composite/node_composite_tree.c +++ b/source/blender/nodes/composite/node_composite_tree.c @@ -32,20 +32,16 @@ #include -#include "DNA_anim_types.h" #include "DNA_color_types.h" #include "DNA_scene_types.h" #include "DNA_node_types.h" #include "BLI_listbase.h" -#include "BLI_threads.h" #include "BLF_translation.h" -#include "BKE_animsys.h" #include "BKE_colortools.h" #include "BKE_context.h" -#include "BKE_fcurve.h" #include "BKE_global.h" #include "BKE_main.h" #include "BKE_node.h" diff --git a/source/blender/nodes/intern/node_common.c b/source/blender/nodes/intern/node_common.c index 5a255f3093f..ae834f9e7cc 100644 --- a/source/blender/nodes/intern/node_common.c +++ b/source/blender/nodes/intern/node_common.c @@ -36,17 +36,11 @@ #include "DNA_node_types.h" #include "BLI_listbase.h" -#include "BLI_math.h" -#include "BLI_path_util.h" #include "BLI_string.h" #include "BLI_utildefines.h" #include "BLF_translation.h" -#include "BKE_global.h" -#include "BKE_idprop.h" -#include "BKE_library.h" -#include "BKE_main.h" #include "BKE_node.h" #include "RNA_access.h" diff --git a/source/blender/nodes/intern/node_exec.c b/source/blender/nodes/intern/node_exec.c index 2ae2da6d6b4..0e5f72c831b 100644 --- a/source/blender/nodes/intern/node_exec.c +++ b/source/blender/nodes/intern/node_exec.c @@ -33,7 +33,6 @@ #include "DNA_node_types.h" #include "BLI_listbase.h" -#include "BLI_math.h" #include "BLI_utildefines.h" #include "BKE_global.h" diff --git a/source/blender/nodes/intern/node_socket.c b/source/blender/nodes/intern/node_socket.c index b30658fa2be..2ac1a2c85f3 100644 --- a/source/blender/nodes/intern/node_socket.c +++ b/source/blender/nodes/intern/node_socket.c @@ -39,7 +39,6 @@ #include "BLI_string.h" #include "BKE_node.h" -#include "BKE_idprop.h" #include "RNA_access.h" #include "RNA_define.h" diff --git a/source/blender/nodes/intern/node_util.c b/source/blender/nodes/intern/node_util.c index dcc58d38d31..cc8249b0f57 100644 --- a/source/blender/nodes/intern/node_util.c +++ b/source/blender/nodes/intern/node_util.c @@ -32,7 +32,6 @@ #include #include -#include "DNA_action_types.h" #include "DNA_node_types.h" #include "BLI_listbase.h" -- cgit v1.2.3