Cleanup: move some headers from MOD_lineart.h to source files
This commit is contained in:
parent
b8cc8b30ec
commit
dcf1a1045d
|
@ -23,15 +23,11 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "BLI_linklist.h"
|
||||
#include "BLI_listbase.h"
|
||||
#include "BLI_math.h"
|
||||
#include "BLI_math.h" /* Needed here for inline functions. */
|
||||
#include "BLI_threads.h"
|
||||
|
||||
#include "DNA_lineart_types.h"
|
||||
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
|
||||
typedef struct LineartStaticMemPoolNode {
|
||||
Link item;
|
||||
|
@ -569,6 +565,4 @@ void MOD_lineart_gpencil_generate(LineartRenderBuffer *rb,
|
|||
|
||||
float MOD_lineart_chain_compute_length(LineartLineChain *rlc);
|
||||
|
||||
struct wmOperatorType;
|
||||
|
||||
void ED_operatortypes_lineart(void);
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
#include "BLI_linklist.h"
|
||||
#include "BLI_listbase.h"
|
||||
#include "BLI_math_matrix.h"
|
||||
#include "BLI_math.h"
|
||||
#include "BLI_task.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
|
|
|
@ -25,6 +25,10 @@
|
|||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
#include "BLI_linklist.h"
|
||||
#include "BLI_math.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_gpencil.h"
|
||||
|
@ -34,8 +38,6 @@
|
|||
|
||||
#include "DEG_depsgraph_query.h"
|
||||
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "WM_api.h"
|
||||
#include "WM_types.h"
|
||||
|
||||
|
|
|
@ -24,10 +24,15 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
/* #include <time.h> */
|
||||
#include "MEM_guardedalloc.h"
|
||||
#include "MOD_lineart.h"
|
||||
|
||||
#include <math.h>
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
#include "MOD_lineart.h"
|
||||
|
||||
#include "BLI_math.h"
|
||||
|
||||
#include "lineart_intern.h"
|
||||
|
||||
/* Line art memory and list helper */
|
||||
|
|
Loading…
Reference in New Issue