Cleanup: Correct location of node function declarations

Currently there are many function declarations in `BKE_node.h` that
don't actually have implementations in blenkernel. This commit moves
the declarations to `NOD_composite.h`, `NOD_texture.h`, and
`NOD_shader.h` instead. This helps to clarify the purpose of the
different modules.

Differential Revision: https://developer.blender.org/D13869
This commit is contained in:
2022-01-24 16:18:30 -06:00
parent 4d799db72f
commit 2bf519d211
25 changed files with 148 additions and 116 deletions

View File

@@ -28,6 +28,7 @@ set(INC
../../imbuf
../../makesdna
../../makesrna
../../nodes
../../render
../../sequencer
../../windowmanager

View File

@@ -56,6 +56,8 @@
#include "BKE_scene.h"
#include "BKE_screen.h"
#include "NOD_composite.h"
#include "DEG_depsgraph.h"
#include "WM_api.h"

View File

@@ -64,6 +64,8 @@
#include "BKE_workspace.h"
#include "BKE_world.h"
#include "NOD_composite.h"
#include "DEG_depsgraph.h"
#include "DEG_depsgraph_build.h"

View File

@@ -49,6 +49,8 @@
#include "BKE_paint.h"
#include "BKE_scene.h"
#include "NOD_composite.h"
#include "RE_engine.h"
#include "RE_pipeline.h"