[Bf-blender-cvs] [1275ce61b1b] master: Cleanup: Remove unused includes

Hans Goudey noreply at git.blender.org
Thu Aug 12 21:12:35 CEST 2021


Commit: 1275ce61b1b02261f666018866f7061a3f30ce60
Author: Hans Goudey
Date:   Thu Aug 12 14:12:14 2021 -0500
Branches: master
https://developer.blender.org/rB1275ce61b1b02261f666018866f7061a3f30ce60

Cleanup: Remove unused includes

I noticed this file was recompiling when adding a node.

===================================================================

M	source/blender/makesrna/intern/rna_curveprofile.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_curveprofile.c b/source/blender/makesrna/intern/rna_curveprofile.c
index b3ab8cc15a2..66c0fc72c7a 100644
--- a/source/blender/makesrna/intern/rna_curveprofile.c
+++ b/source/blender/makesrna/intern/rna_curveprofile.c
@@ -23,9 +23,6 @@
 
 #include "DNA_curve_types.h"
 #include "DNA_curveprofile_types.h"
-#include "DNA_texture_types.h"
-
-#include "BLI_utildefines.h"
 
 #include "RNA_define.h"
 #include "rna_internal.h"
@@ -37,31 +34,7 @@
 
 #  include "RNA_access.h"
 
-#  include "DNA_image_types.h"
-#  include "DNA_material_types.h"
-#  include "DNA_movieclip_types.h"
-#  include "DNA_node_types.h"
-#  include "DNA_object_types.h"
-#  include "DNA_particle_types.h"
-#  include "DNA_sequence_types.h"
-
-#  include "MEM_guardedalloc.h"
-
-#  include "BKE_colorband.h"
 #  include "BKE_curveprofile.h"
-#  include "BKE_image.h"
-#  include "BKE_linestyle.h"
-#  include "BKE_movieclip.h"
-#  include "BKE_node.h"
-
-#  include "DEG_depsgraph.h"
-
-#  include "ED_node.h"
-
-#  include "IMB_colormanagement.h"
-#  include "IMB_imbuf.h"
-
-#  include "SEQ_sequencer.h"
 
 /**
  * Set both handle types for all selected points in the profile-- faster than changing types



More information about the Bf-blender-cvs mailing list