Cleanup: use static vars where appropriate
authorCampbell Barton <ideasman42@gmail.com>
Mon, 31 Jul 2017 23:06:34 +0000 (09:06 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 31 Jul 2017 23:06:34 +0000 (09:06 +1000)
34 files changed:
source/blender/blenkernel/intern/object_dupli.c
source/blender/bmesh/intern/bmesh_core.c
source/blender/compositor/operations/COM_RenderLayersProg.cpp
source/blender/datatoc/datatoc.c
source/blender/editors/animation/keyframes_general.c
source/blender/editors/gpencil/editaction_gpencil.c
source/blender/editors/gpencil/gpencil_edit.c
source/blender/editors/sculpt_paint/paint_ops.c
source/blender/editors/space_clip/space_clip.c
source/blender/editors/space_sequencer/space_sequencer.c
source/blender/gpu/intern/gpu_buffers.c
source/blender/makesrna/RNA_enum_types.h
source/blender/makesrna/intern/CMakeLists.txt
source/blender/makesrna/intern/rna_mesh.c
source/blender/makesrna/intern/rna_scene.c
source/blender/makesrna/intern/rna_sculpt_paint.c
source/blender/modifiers/intern/MOD_build.c
source/blender/modifiers/intern/MOD_collision.c
source/blender/modifiers/intern/MOD_curve.c
source/blender/modifiers/intern/MOD_dynamicpaint.c
source/blender/modifiers/intern/MOD_edgesplit.c
source/blender/modifiers/intern/MOD_explode.c
source/blender/modifiers/intern/MOD_fluidsim.c
source/blender/modifiers/intern/MOD_mask.c
source/blender/modifiers/intern/MOD_mirror.c
source/blender/modifiers/intern/MOD_multires.c
source/blender/modifiers/intern/MOD_ocean.c
source/blender/modifiers/intern/MOD_particleinstance.c
source/blender/modifiers/intern/MOD_skin.c
source/blender/modifiers/intern/MOD_smoke.c
source/blender/modifiers/intern/MOD_triangulate.c
source/blender/modifiers/intern/MOD_weightvgedit.c
source/blender/modifiers/intern/MOD_weightvgmix.c
source/blender/modifiers/intern/MOD_weightvgproximity.c

index 076bef71875b2229a2359dfb630566544d84c8b3..b49e481b068325acbd84826756b49dda0fa44d3c 100644 (file)
@@ -343,7 +343,7 @@ static void make_duplis_group(const DupliContext *ctx)
        }
 }
 
-const DupliGenerator gen_dupli_group = {
+static const DupliGenerator gen_dupli_group = {
     OB_DUPLIGROUP,                  /* type */
     make_duplis_group               /* make_duplis */
 };
@@ -421,7 +421,7 @@ static void make_duplis_frames(const DupliContext *ctx)
        *ob = copyob;
 }
 
-const DupliGenerator gen_dupli_frames = {
+static const DupliGenerator gen_dupli_frames = {
     OB_DUPLIFRAMES,                 /* type */
     make_duplis_frames              /* make_duplis */
 };
@@ -571,7 +571,7 @@ static void make_duplis_verts(const DupliContext *ctx)
        vdd.dm->release(vdd.dm);
 }
 
-const DupliGenerator gen_dupli_verts = {
+static const DupliGenerator gen_dupli_verts = {
     OB_DUPLIVERTS,                  /* type */
     make_duplis_verts               /* make_duplis */
 };
@@ -684,7 +684,7 @@ static void make_duplis_font(const DupliContext *ctx)
        MEM_freeN(chartransdata);
 }
 
-const DupliGenerator gen_dupli_verts_font = {
+static const DupliGenerator gen_dupli_verts_font = {
     OB_DUPLIVERTS,                  /* type */
     make_duplis_font                /* make_duplis */
 };
@@ -847,7 +847,7 @@ static void make_duplis_faces(const DupliContext *ctx)
        fdd.dm->release(fdd.dm);
 }
 
-const DupliGenerator gen_dupli_faces = {
+static const DupliGenerator gen_dupli_faces = {
     OB_DUPLIFACES,                  /* type */
     make_duplis_faces               /* make_duplis */
 };
@@ -1168,7 +1168,7 @@ static void make_duplis_particles(const DupliContext *ctx)
        }
 }
 
-const DupliGenerator gen_dupli_particles = {
+static const DupliGenerator gen_dupli_particles = {
     OB_DUPLIPARTS,                  /* type */
     make_duplis_particles           /* make_duplis */
 };
index 4fe14fdf5c901cd632a19db6d9089fb815427f3b..6b22fd0a85cc66cfdecd3ff63beda3eee0003f30 100644 (file)
@@ -2415,7 +2415,8 @@ static void bmesh_kernel_vert_separate__cleanup(BMesh *bm, LinkNode *edges_separ
                                        /* don't visit again */
                                        n_prev->next = n_step->next;
                                }
-                       } while ((n_prev = n_step),
+                       } while ((void)
+                                (n_prev = n_step),
                                 (n_step = n_step->next));
 
                } while ((n_orig = n_orig->next) && n_orig->next);
index f2f1b211a976fa43876cbf76170a4085c84e719c..26654b31e163e38c8b2739013f41159af7c67f3f 100644 (file)
@@ -246,4 +246,4 @@ void RenderLayersDepthProg::executePixelSampled(float output[4], float x, float
                unsigned int offset = (iy * this->getWidth() + ix);
                output[0] = inputBuffer[offset];
        }
-}
\ No newline at end of file
+}
index 4e49a9a7694ee21be5a548573c5b79dd734e1ea3..ffccca98f99578e718100de6aa41aa801745145e 100644 (file)
@@ -91,6 +91,11 @@ int main(int argc, char **argv)
        }
 
        fprintf(fpout, "/* DataToC output of file <%s> */\n\n", argv[1]);
+
+       /* Quiet 'missing-variable-declarations' warning. */
+       fprintf(fpout, "extern int datatoc_%s_size;\n", argv[1]);
+       fprintf(fpout, "extern char datatoc_%s[];\n\n", argv[1]);
+
        fprintf(fpout, "int datatoc_%s_size = %d;\n", argv[1], (int)size);
        fprintf(fpout, "char datatoc_%s[] = {\n", argv[1]);
        while (size--) {
index c1e82583521578860f674f1ae6ee8ca7b3262f81..071c5fab9d7a7d8d41b9dc5b0c044ceac33f89bb 100644 (file)
@@ -52,6 +52,7 @@
 #include "BKE_deform.h"
 
 #include "RNA_access.h"
+#include "RNA_enum_types.h"
 
 #include "ED_anim_api.h"
 #include "ED_keyframing.h"
index bd4856f1b9387f36fba285f4fd9ef142a7590b0d..9227f9b1097e22fcf46f217a8db19567cb810c0e 100644 (file)
@@ -314,7 +314,7 @@ void ED_gplayer_frames_keytype_set(bGPDlayer *gpl, short type)
  */
 
 /* globals for copy/paste data (like for other copy/paste buffers) */
-ListBase gp_anim_copybuf = {NULL, NULL};
+static ListBase gp_anim_copybuf = {NULL, NULL};
 static int gp_anim_copy_firstframe =  999999999;
 static int gp_anim_copy_lastframe  = -999999999;
 static int gp_anim_copy_cfra       =  0;
index fc6df49cf6c8f5264d3e62a17f37959b84a785f9..55a3fc09f2e3a6a6804bfe59c58f804817acfc8e 100644 (file)
@@ -343,7 +343,7 @@ ListBase gp_strokes_copypastebuf = {NULL, NULL};
  * This is needed to prevent dangling and unsafe pointers when pasting across datablocks,
  * or after a color used by a stroke in the buffer gets deleted (via user action or undo).
  */
-GHash *gp_strokes_copypastebuf_colors = NULL;
+static GHash *gp_strokes_copypastebuf_colors = NULL;
 
 /* Free copy/paste buffer data */
 void ED_gpencil_strokes_copybuf_free(void)
index f88b64129e7cd0591a7d98e83d06b19b4583aee8..123a70d5044c3013e5dda7dafce3a642c2fe9738 100644 (file)
@@ -821,8 +821,6 @@ static int brush_uv_sculpt_tool_set_exec(bContext *C, wmOperator *op)
 
 static void BRUSH_OT_uv_sculpt_tool_set(wmOperatorType *ot)
 {
-       /* from rna_scene.c */
-       extern EnumPropertyItem uv_sculpt_tool_items[];
        /* identifiers */
        ot->name = "UV Sculpt Tool Set";
        ot->description = "Set the UV sculpt tool";
@@ -836,7 +834,7 @@ static void BRUSH_OT_uv_sculpt_tool_set(wmOperatorType *ot)
        ot->flag = 0;
 
        /* props */
-       ot->prop = RNA_def_enum(ot->srna, "tool", uv_sculpt_tool_items, 0, "Tool", "");
+       ot->prop = RNA_def_enum(ot->srna, "tool", rna_enum_uv_sculpt_tool_items, 0, "Tool", "");
 }
 
 /***** Stencil Control *****/
index 237082f948b789a5b6105368b29be1529d8617c0..597b8be89b24bde3d2a734e831cd021f2c569613 100644 (file)
@@ -821,7 +821,7 @@ static void clip_keymap(struct wmKeyConfig *keyconf)
 #endif
 }
 
-const char *clip_context_dir[] = {"edit_movieclip", "edit_mask", NULL};
+static const char *clip_context_dir[] = {"edit_movieclip", "edit_mask", NULL};
 
 static int clip_context(const bContext *C, const char *member, bContextDataResult *result)
 {
index a2a80297041fc90603a38ee156fb1be01a321be9..f965c1af54ab9415578b315e9c2dada3c96b75c2 100644 (file)
@@ -435,7 +435,7 @@ static void sequencer_dropboxes(void)
 
 /* ************* end drop *********** */
 
-const char *sequencer_context_dir[] = {"edit_mask", NULL};
+static const char *sequencer_context_dir[] = {"edit_mask", NULL};
 
 static int sequencer_context(const bContext *C, const char *member, bContextDataResult *result)
 {
index 9f1fe3a5a674b6b5a4c37856ad1b1cd1d9488ba4..73c4d8a6804cebbd67b481e17b20c902df45b42f 100644 (file)
@@ -76,7 +76,7 @@ typedef struct {
 
 static size_t gpu_buffer_size_from_type(DerivedMesh *dm, GPUBufferType type);
 
-const GPUBufferTypeSettings gpu_buffer_type_settings[] = {
+static const GPUBufferTypeSettings gpu_buffer_type_settings[] = {
     /* vertex */
     {GL_ARRAY_BUFFER, 3},
     /* normal */
index 1c9b3593d174e17f122685c7fa98e70685b67474..f8e240d57bfa0f374f6b2f9a8c47e96e752891f0 100644 (file)
@@ -114,6 +114,8 @@ extern EnumPropertyItem rna_enum_brush_image_tool_items[];
 
 extern EnumPropertyItem rna_enum_gpencil_sculpt_brush_items[];
 
+extern EnumPropertyItem rna_enum_uv_sculpt_tool_items[];
+
 extern EnumPropertyItem rna_enum_axis_xy_items[];
 extern EnumPropertyItem rna_enum_axis_xyz_items[];
 
index 6a08d762920a62e4c7df5a935113a6c1280d2ae2..9d0ba5586af66a21213b9f2d8374b8308aebe125 100644 (file)
@@ -140,6 +140,9 @@ set(GENSRC_CFLAGS)
 if(CMAKE_COMPILER_IS_GNUCC OR (CMAKE_C_COMPILER_ID MATCHES "Clang"))
        set(GENSRC_CFLAGS "-Wno-missing-prototypes")
 endif()
+if(CMAKE_C_COMPILER_ID MATCHES "Clang")
+       set(GENSRC_CFLAGS "${GENSRC_CFLAGS} -Wno-missing-variable-declarations")
+endif()
 
 if(GENSRC_CFLAGS)
        set_source_files_properties(${GENSRC} PROPERTIES COMPILE_FLAGS "${GENSRC_CFLAGS}")
index ad5f320625c045daa1e8efd6ccd02d821ddc0a7c..c25a70cea20e1b5af1cecffcc7f3d9dbeb355ca2 100644 (file)
@@ -46,6 +46,7 @@
 #include "RNA_access.h"
 #include "RNA_define.h"
 #include "RNA_types.h"
+#include "RNA_enum_types.h"
 
 #include "rna_internal.h"
 
index b9231574a24dc82a4804dee2485106ed76b38695..8dd991a768b89f9a39af96633dbbcecb32d13036 100644 (file)
@@ -94,13 +94,13 @@ EnumPropertyItem rna_enum_exr_codec_items[] = {
 };
 #endif
 
-EnumPropertyItem uv_sculpt_relaxation_items[] = {
+static EnumPropertyItem uv_sculpt_relaxation_items[] = {
        {UV_SCULPT_TOOL_RELAX_LAPLACIAN, "LAPLACIAN", 0, "Laplacian", "Use Laplacian method for relaxation"},
        {UV_SCULPT_TOOL_RELAX_HC, "HC", 0, "HC", "Use HC method for relaxation"},
        {0, NULL, 0, NULL, NULL}
 };
 
-EnumPropertyItem uv_sculpt_tool_items[] = {
+EnumPropertyItem rna_enum_uv_sculpt_tool_items[] = {
        {UV_SCULPT_TOOL_PINCH, "PINCH", 0, "Pinch", "Pinch UVs"},
        {UV_SCULPT_TOOL_RELAX, "RELAX", 0, "Relax", "Relax UVs"},
        {UV_SCULPT_TOOL_GRAB, "GRAB", 0, "Grab", "Grab UVs"},
@@ -175,7 +175,7 @@ EnumPropertyItem rna_enum_snap_node_element_items[] = {
        {0, NULL, 0, NULL, NULL}
 };
 
-EnumPropertyItem snap_uv_element_items[] = {
+static EnumPropertyItem snap_uv_element_items[] = {
        {SCE_SNAP_MODE_INCREMENT, "INCREMENT", ICON_SNAP_INCREMENT, "Increment", "Snap to increments of grid"},
        {SCE_SNAP_MODE_VERTEX, "VERTEX", ICON_SNAP_VERTEX, "Vertex", "Snap to vertices"},
        {0, NULL, 0, NULL, NULL}
@@ -265,12 +265,14 @@ EnumPropertyItem rna_enum_curve_fit_method_items[] = {
        R_IMF_ENUM_TIFF                                                           \
 
 
-EnumPropertyItem image_only_type_items[] = {
+#ifdef RNA_RUNTIME
+static EnumPropertyItem image_only_type_items[] = {
 
        IMAGE_TYPE_ITEMS_IMAGE_ONLY
 
        {0, NULL, 0, NULL, NULL}
 };
+#endif
 
 EnumPropertyItem rna_enum_image_type_items[] = {
        {0, "", 0, N_("Image"), NULL},
@@ -408,7 +410,7 @@ EnumPropertyItem rna_enum_bake_pass_filter_type_items[] = {
        {0, NULL, 0, NULL, NULL}
 };
 
-EnumPropertyItem rna_enum_gpencil_interpolation_mode_items[] = {
+static EnumPropertyItem rna_enum_gpencil_interpolation_mode_items[] = {
        /* interpolation */
        {0, "", 0, N_("Interpolation"), "Standard transitions between keyframes"},
        {GP_IPO_LINEAR,   "LINEAR", ICON_IPO_LINEAR, "Linear", "Straight-line interpolation between A and B (i.e. no ease in/out)"},
@@ -2665,7 +2667,7 @@ static void rna_def_tool_settings(BlenderRNA  *brna)
 
        prop = RNA_def_property(srna, "uv_sculpt_tool", PROP_ENUM, PROP_NONE);
        RNA_def_property_enum_sdna(prop, NULL, "uv_sculpt_tool");
-       RNA_def_property_enum_items(prop, uv_sculpt_tool_items);
+       RNA_def_property_enum_items(prop, rna_enum_uv_sculpt_tool_items);
        RNA_def_property_ui_text(prop, "UV Sculpt Tools", "Select Tools for the UV sculpt brushes");
 
        prop = RNA_def_property(srna, "uv_relax_method", PROP_ENUM, PROP_NONE);
index 40aea37d9d2f634c396bd65b89783f1f9b32f17a..42e4ba6cbcf20a9f484033d6d2c3b1ecfa3efb5d 100644 (file)
@@ -28,6 +28,7 @@
 #include <stdlib.h>
 
 #include "RNA_define.h"
+#include "RNA_enum_types.h"
 
 #include "rna_internal.h"
 
@@ -75,7 +76,7 @@ EnumPropertyItem rna_enum_gpencil_sculpt_brush_items[] = {
        { 0, NULL, 0, NULL, NULL }
 };
 
-EnumPropertyItem rna_enum_gpencil_lockaxis_items[] = {
+static EnumPropertyItem rna_enum_gpencil_lockaxis_items[] = {
        { GP_LOCKAXIS_NONE, "GP_LOCKAXIS_NONE", 0, "None", "" },
        { GP_LOCKAXIS_X, "GP_LOCKAXIS_X", 0, "X", "Project strokes to plane locked to X" },
        { GP_LOCKAXIS_Y, "GP_LOCKAXIS_Y", 0, "Y", "Project strokes to plane locked to Y" },
index a364eef2974d266d52b5f3023832710368a93c17..56a274b9ac9fe6d4c23be653a71a387753f72f4c 100644 (file)
@@ -47,6 +47,8 @@
 #include "BKE_particle.h"
 #include "BKE_scene.h"
 
+
+
 #ifdef _OPENMP
 #  include "BKE_mesh.h"  /* BKE_MESH_OMP_LIMIT */
 #endif
index e7ff0a90fbcc0a14a04b7fb6c029d3de20d35986..33e834f3023c6bc314d972d17bb23ea3b9eef2b3 100644 (file)
@@ -40,7 +40,6 @@
 #include "BLI_math.h"
 #include "BLI_utildefines.h"
 
-
 #include "BKE_collision.h"
 #include "BKE_cdderivedmesh.h"
 #include "BKE_global.h"
@@ -48,6 +47,8 @@
 #include "BKE_pointcache.h"
 #include "BKE_scene.h"
 
+#include "MOD_modifiertypes.h"
+
 static void initData(ModifierData *md) 
 {
        CollisionModifierData *collmd = (CollisionModifierData *) md;
index 3c6ba7acc8862de98684081eb88962625611a81a..c9a910d769b9a4f9e07d29613c2704119629a89c 100644 (file)
@@ -39,7 +39,6 @@
 
 #include "BLI_utildefines.h"
 
-
 #include "BKE_cdderivedmesh.h"
 #include "BKE_lattice.h"
 #include "BKE_library_query.h"
@@ -48,6 +47,7 @@
 #include "depsgraph_private.h"
 #include "DEG_depsgraph_build.h"
 
+#include "MOD_modifiertypes.h"
 
 static void initData(ModifierData *md)
 {
index 83a4250418020b69be29d852d2d6ea2cca63234e..eec978280918dcd1a1c7abe6722b0bda95ce97bc 100644 (file)
@@ -43,6 +43,7 @@
 #include "depsgraph_private.h"
 #include "DEG_depsgraph_build.h"
 
+#include "MOD_modifiertypes.h"
 
 static void initData(ModifierData *md) 
 {
index 4441edb299bec4944ec96f8955021e2eafef6276..a17870f2bf413e412d8b95946955694a021514ab 100644 (file)
@@ -48,6 +48,7 @@
 
 #include "DNA_object_types.h"
 
+#include "MOD_modifiertypes.h"
 
 static DerivedMesh *doEdgeSplit(DerivedMesh *dm, EdgeSplitModifierData *emd)
 {
index ca7b3ce803961c9b426e482f4a5f621bb0a58c39..72bc046b4402de541601076213d1263ad68f9f9f 100644 (file)
@@ -51,9 +51,9 @@
 #include "BKE_particle.h"
 #include "BKE_scene.h"
 
-
 #include "MEM_guardedalloc.h"
 
+#include "MOD_modifiertypes.h"
 
 static void initData(ModifierData *md)
 {
index 1964e940cb2943fb8cc69dd4e9137ea1f3f45fa5..53f955b15f00b9599e7c7fb1749268e8dc7609da 100644 (file)
@@ -47,6 +47,8 @@
 #include "DEG_depsgraph_build.h"
 
 #include "MOD_fluidsim_util.h"
+#include "MOD_modifiertypes.h"
+
 #include "MEM_guardedalloc.h"
 
 /* Fluidsim */
index dcc7fe4d4f19dee76f026de6a4a7b34814695b04..18caf4a39f40ac51eec06006e9fc5e673dfe11bf 100644 (file)
@@ -53,6 +53,8 @@
 #include "depsgraph_private.h"
 #include "DEG_depsgraph_build.h"
 
+#include "MOD_modifiertypes.h"
+
 #include "BLI_strict_flags.h"
 
 static void copyData(ModifierData *md, ModifierData *target)
index 9705edc580c917b089c9b437ed4efb49db1e3abe..7b71e6166271de9eea9b9b3de8e8b01be657a183 100644 (file)
@@ -48,6 +48,8 @@
 #include "depsgraph_private.h"
 #include "DEG_depsgraph_build.h"
 
+#include "MOD_modifiertypes.h"
+
 static void initData(ModifierData *md)
 {
        MirrorModifierData *mmd = (MirrorModifierData *) md;
index 90ad1bdfdc28ca88983ae918f09c2103c12b8292..f9f17b88fa41902b4a4dc7bbb2db435a1e3484f0 100644 (file)
@@ -46,6 +46,8 @@
 #include "BKE_modifier.h"
 #include "BKE_subsurf.h"
 
+#include "MOD_modifiertypes.h"
+
 static void initData(ModifierData *md)
 {
        MultiresModifierData *mmd = (MultiresModifierData *)md;
index 2c0bfc86e7db47f74f92971aee9b27717406fe75..8d8565e7e6247cea0f0e050b4112235abb089bdb 100644 (file)
@@ -44,6 +44,8 @@
 #include "BKE_modifier.h"
 #include "BKE_ocean.h"
 
+#include "MOD_modifiertypes.h"
+
 #ifdef WITH_OCEANSIM
 static void init_cache_data(Object *ob, struct OceanModifierData *omd)
 {
index fbf5a9582543ff6c91bb94e070311decae8aa9e2..0c91cb08da7a9e235e1e8e0c33064ba739dceb81 100644 (file)
@@ -54,6 +54,8 @@
 #include "depsgraph_private.h"
 #include "DEG_depsgraph_build.h"
 
+#include "MOD_modifiertypes.h"
+
 static void initData(ModifierData *md)
 {
        ParticleInstanceModifierData *pimd = (ParticleInstanceModifierData *) md;
index 8ed623734bef648f0b96cee7e4ec42d5c07575d2..ad1e4badd3e25333718d6f091771e070eff0ab87 100644 (file)
@@ -77,6 +77,8 @@
 #include "BKE_mesh_mapping.h"
 #include "BKE_modifier.h"
 
+#include "MOD_modifiertypes.h"
+
 #include "bmesh.h"
 
 typedef struct {
index c105a3ab3a7e0dd9c6f723c7fd0810bed58eeb33..7f2d9e42fe6a4ae063b61fe2a891c1cac2eaff84 100644 (file)
@@ -45,7 +45,6 @@
 
 #include "BLI_utildefines.h"
 
-
 #include "BKE_cdderivedmesh.h"
 #include "BKE_library.h"
 #include "BKE_library_query.h"
@@ -56,6 +55,8 @@
 #include "depsgraph_private.h"
 #include "DEG_depsgraph_build.h"
 
+#include "MOD_modifiertypes.h"
+
 static void initData(ModifierData *md) 
 {
        SmokeModifierData *smd = (SmokeModifierData *) md;
index 6fad2756f82eb31f56b05b1b9f75d986e56a2378..b057d6d5a86e82e1336251b540e662cf45c1ea12 100644 (file)
@@ -35,6 +35,8 @@
 #include "bmesh.h"
 #include "bmesh_tools.h"
 
+#include "MOD_modifiertypes.h"
+
 static DerivedMesh *triangulate_dm(DerivedMesh *dm, const int quad_method, const int ngon_method)
 {
        DerivedMesh *result;
index cd30b54350c9c9234abad98d77fcf8229cc0d337..85d6e5186a120d870d271f117d73f58f096517c7 100644 (file)
@@ -50,7 +50,9 @@
 #include "DEG_depsgraph_build.h"
 
 #include "MEM_guardedalloc.h"
+
 #include "MOD_weightvg_util.h"
+#include "MOD_modifiertypes.h"
 
 /**************************************
  * Modifiers functions.               *
index 1b3188c83b3c386bf0dc022263b584824dca23fd..543dc7eb90088a391b046af0b932410b7801b25a 100644 (file)
@@ -47,7 +47,9 @@
 #include "DEG_depsgraph_build.h"
 
 #include "MEM_guardedalloc.h"
+
 #include "MOD_weightvg_util.h"
+#include "MOD_modifiertypes.h"
 
 
 /**
index 2c87838aeab83e89fb8ed3b3e331b10533314b1c..5457792a744fd5dcd43026f429acedcb9b1d8ffb 100644 (file)
@@ -51,7 +51,9 @@
 #include "DEG_depsgraph_build.h"
 
 #include "MEM_guardedalloc.h"
+
 #include "MOD_weightvg_util.h"
+#include "MOD_modifiertypes.h"
 
 //#define USE_TIMEIT