Cleanup: Unused headers in generic compositor nodes header
Move headers to node files which actually need those. There is no need for all nodes to have all those headers included indirectly.
This commit is contained in:
@@ -8,24 +8,12 @@
|
||||
#pragma once
|
||||
|
||||
#include "DNA_ID.h"
|
||||
#include "DNA_movieclip_types.h"
|
||||
#include "DNA_node_types.h"
|
||||
|
||||
#include "BLT_translation.h"
|
||||
|
||||
#include "BKE_colorband.h"
|
||||
#include "BKE_colortools.h"
|
||||
#include "BKE_image.h"
|
||||
#include "BKE_texture.h"
|
||||
#include "BKE_tracking.h"
|
||||
|
||||
#include "node_util.h"
|
||||
|
||||
#include "IMB_imbuf.h"
|
||||
#include "IMB_imbuf_types.h"
|
||||
|
||||
#include "RE_pipeline.h"
|
||||
|
||||
#include "NOD_composite.h"
|
||||
#include "NOD_socket.h"
|
||||
#include "NOD_socket_declarations.hh"
|
||||
|
||||
@@ -17,12 +17,15 @@
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_cryptomatte.hh"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_image.h"
|
||||
#include "BKE_lib_id.h"
|
||||
#include "BKE_library.h"
|
||||
#include "BKE_main.h"
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
#include "RE_pipeline.h"
|
||||
|
||||
#include <optional>
|
||||
|
||||
/* -------------------------------------------------------------------- */
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
* \ingroup cmpnodes
|
||||
*/
|
||||
|
||||
#include "BKE_colortools.h"
|
||||
|
||||
#include "UI_interface.h"
|
||||
#include "UI_resources.h"
|
||||
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
|
||||
#include "node_composite_util.hh"
|
||||
|
||||
#include "BKE_colortools.h"
|
||||
|
||||
namespace blender::nodes::node_composite_huecorrect_cc {
|
||||
|
||||
static void cmp_node_huecorrect_declare(NodeDeclarationBuilder &b)
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_image.h"
|
||||
#include "BKE_lib_id.h"
|
||||
#include "BKE_main.h"
|
||||
#include "BKE_scene.h"
|
||||
@@ -19,6 +20,7 @@
|
||||
#include "DNA_scene_types.h"
|
||||
|
||||
#include "RE_engine.h"
|
||||
#include "RE_pipeline.h"
|
||||
|
||||
#include "RNA_access.h"
|
||||
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
* \ingroup cmpnodes
|
||||
*/
|
||||
|
||||
#include "BKE_texture.h"
|
||||
|
||||
#include "RNA_access.h"
|
||||
|
||||
#include "UI_interface.h"
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_lib_id.h"
|
||||
#include "BKE_tracking.h"
|
||||
|
||||
#include "UI_interface.h"
|
||||
#include "UI_resources.h"
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
* \ingroup cmpnodes
|
||||
*/
|
||||
|
||||
#include "BKE_tracking.h"
|
||||
|
||||
#include "RNA_access.h"
|
||||
#include "RNA_prototypes.h"
|
||||
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
|
||||
#include "node_composite_util.hh"
|
||||
|
||||
#include "BKE_colorband.h"
|
||||
|
||||
/* **************** VALTORGB ******************** */
|
||||
|
||||
namespace blender::nodes::node_composite_val_to_rgb_cc {
|
||||
|
||||
Reference in New Issue
Block a user