diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-01-07 22:18:31 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-01-07 22:18:31 +0300 |
commit | 89c9aaaa25cc7ce60c305d8e30e1c008cb117cf1 (patch) | |
tree | ac9e9fc1a682129df4af48a3b9a2fb59e3e85fcf /source/blender/makesrna | |
parent | 8f21a43535cb200c0569566a1b012aec883aa53c (diff) |
remove references to BKE_utildefines where its not needed.
- move GS() define into DNA_ID.h
- add BLI_utildefines as an automatic include with makesrna generated files.
Diffstat (limited to 'source/blender/makesrna')
49 files changed, 6 insertions, 88 deletions
diff --git a/source/blender/makesrna/intern/makesrna.c b/source/blender/makesrna/intern/makesrna.c index 5112f1067f2..6d9c2ec16d3 100644 --- a/source/blender/makesrna/intern/makesrna.c +++ b/source/blender/makesrna/intern/makesrna.c @@ -2419,12 +2419,12 @@ static void rna_generate(BlenderRNA *brna, FILE *f, const char *filename, const fprintf(f, "#include \"DNA_scene_types.h\"\n"); fprintf(f, "#include \"BLI_blenlib.h\"\n\n"); + fprintf(f, "#include \"BLI_utildefines.h\"\n\n"); fprintf(f, "#include \"BKE_context.h\"\n"); fprintf(f, "#include \"BKE_library.h\"\n"); fprintf(f, "#include \"BKE_main.h\"\n"); fprintf(f, "#include \"BKE_report.h\"\n"); - fprintf(f, "#include \"BKE_utildefines.h\"\n\n"); fprintf(f, "#include \"RNA_define.h\"\n"); fprintf(f, "#include \"RNA_types.h\"\n"); diff --git a/source/blender/makesrna/intern/rna_ID.c b/source/blender/makesrna/intern/rna_ID.c index 63edd69fb41..efef72913c9 100644 --- a/source/blender/makesrna/intern/rna_ID.c +++ b/source/blender/makesrna/intern/rna_ID.c @@ -70,8 +70,6 @@ EnumPropertyItem id_type_items[] = { #ifdef RNA_RUNTIME -#include "BLI_utildefines.h" - #include "BKE_idprop.h" #include "BKE_library.h" #include "BKE_animsys.h" diff --git a/source/blender/makesrna/intern/rna_access.c b/source/blender/makesrna/intern/rna_access.c index 7c1308ece97..ee1ae025bd6 100644 --- a/source/blender/makesrna/intern/rna_access.c +++ b/source/blender/makesrna/intern/rna_access.c @@ -43,7 +43,7 @@ #include "BKE_idprop.h" #include "BKE_main.h" #include "BKE_report.h" -#include "BKE_utildefines.h" + #include "WM_api.h" diff --git a/source/blender/makesrna/intern/rna_actuator.c b/source/blender/makesrna/intern/rna_actuator.c index dc5e5699699..2fa93bcecdd 100644 --- a/source/blender/makesrna/intern/rna_actuator.c +++ b/source/blender/makesrna/intern/rna_actuator.c @@ -59,8 +59,6 @@ EnumPropertyItem actuator_type_items[] ={ #ifdef RNA_RUNTIME -#include "BLI_utildefines.h" - #include "BKE_sca.h" static StructRNA* rna_Actuator_refine(struct PointerRNA *ptr) diff --git a/source/blender/makesrna/intern/rna_animation.c b/source/blender/makesrna/intern/rna_animation.c index 4516afed72a..90c072bcfcb 100644 --- a/source/blender/makesrna/intern/rna_animation.c +++ b/source/blender/makesrna/intern/rna_animation.c @@ -47,8 +47,6 @@ EnumPropertyItem keyingset_path_grouping_items[] = { #ifdef RNA_RUNTIME -#include "BLI_utildefines.h" - #include "BKE_animsys.h" static int rna_AnimData_action_editable(PointerRNA *ptr) diff --git a/source/blender/makesrna/intern/rna_animviz.c b/source/blender/makesrna/intern/rna_animviz.c index fd568363423..1fcd53d5d0f 100644 --- a/source/blender/makesrna/intern/rna_animviz.c +++ b/source/blender/makesrna/intern/rna_animviz.c @@ -38,8 +38,6 @@ #ifdef RNA_RUNTIME -#include "BLI_utildefines.h" - static PointerRNA rna_AnimViz_onion_skinning_get(PointerRNA *ptr) { return rna_pointer_inherit_refine(ptr, &RNA_AnimVizOnionSkinning, ptr->data); diff --git a/source/blender/makesrna/intern/rna_armature.c b/source/blender/makesrna/intern/rna_armature.c index cb7865c51f5..40755e0dfd1 100644 --- a/source/blender/makesrna/intern/rna_armature.c +++ b/source/blender/makesrna/intern/rna_armature.c @@ -39,8 +39,6 @@ #ifdef RNA_RUNTIME -#include "BLI_utildefines.h" - #include "BKE_context.h" #include "BKE_depsgraph.h" #include "BKE_idprop.h" diff --git a/source/blender/makesrna/intern/rna_boid.c b/source/blender/makesrna/intern/rna_boid.c index ca6147e46a7..757952bb956 100644 --- a/source/blender/makesrna/intern/rna_boid.c +++ b/source/blender/makesrna/intern/rna_boid.c @@ -67,8 +67,6 @@ EnumPropertyItem boidruleset_type_items[] ={ #ifdef RNA_RUNTIME -#include "BLI_utildefines.h" - #include "BKE_context.h" #include "BKE_depsgraph.h" #include "BKE_particle.h" diff --git a/source/blender/makesrna/intern/rna_brush.c b/source/blender/makesrna/intern/rna_brush.c index 7cfe918eabd..60c28d8bae1 100644 --- a/source/blender/makesrna/intern/rna_brush.c +++ b/source/blender/makesrna/intern/rna_brush.c @@ -89,8 +89,6 @@ EnumPropertyItem brush_imagepaint_tool_items[] = { #include "RNA_access.h" -#include "BLI_utildefines.h" - #include "BKE_texture.h" #include "BKE_brush.h" #include "BKE_icons.h" diff --git a/source/blender/makesrna/intern/rna_camera.c b/source/blender/makesrna/intern/rna_camera.c index 72a9af515dd..b0d93bcd09a 100644 --- a/source/blender/makesrna/intern/rna_camera.c +++ b/source/blender/makesrna/intern/rna_camera.c @@ -36,8 +36,6 @@ #ifdef RNA_RUNTIME -#include "BLI_utildefines.h" - #include "BKE_object.h" /* only for rad/deg conversion! can remove later */ diff --git a/source/blender/makesrna/intern/rna_cloth.c b/source/blender/makesrna/intern/rna_cloth.c index 643b9979a44..2d2c9ab8a5b 100644 --- a/source/blender/makesrna/intern/rna_cloth.c +++ b/source/blender/makesrna/intern/rna_cloth.c @@ -41,8 +41,6 @@ #ifdef RNA_RUNTIME -#include "BLI_utildefines.h" - #include "BKE_context.h" #include "BKE_depsgraph.h" diff --git a/source/blender/makesrna/intern/rna_color.c b/source/blender/makesrna/intern/rna_color.c index 8eb1152d6d2..01b5c3a9793 100644 --- a/source/blender/makesrna/intern/rna_color.c +++ b/source/blender/makesrna/intern/rna_color.c @@ -40,8 +40,6 @@ #include "MEM_guardedalloc.h" -#include "BLI_utildefines.h" - #include "BKE_colortools.h" #include "BKE_depsgraph.h" #include "BKE_node.h" diff --git a/source/blender/makesrna/intern/rna_constraint.c b/source/blender/makesrna/intern/rna_constraint.c index 11960d10d88..112526cec46 100644 --- a/source/blender/makesrna/intern/rna_constraint.c +++ b/source/blender/makesrna/intern/rna_constraint.c @@ -96,10 +96,6 @@ EnumPropertyItem constraint_ik_axisref_items[] ={ #ifdef RNA_RUNTIME -#include <stdio.h> - -#include "BLI_utildefines.h" - #include "BKE_animsys.h" #include "BKE_action.h" #include "BKE_constraint.h" diff --git a/source/blender/makesrna/intern/rna_curve.c b/source/blender/makesrna/intern/rna_curve.c index 4fe7a1a4122..8b9166b919f 100644 --- a/source/blender/makesrna/intern/rna_curve.c +++ b/source/blender/makesrna/intern/rna_curve.c @@ -64,7 +64,6 @@ EnumPropertyItem curve_type_items[] = { #ifdef RNA_RUNTIME #include "BLI_math.h" -#include "BLI_utildefines.h" #include "DNA_object_types.h" diff --git a/source/blender/makesrna/intern/rna_fcurve.c b/source/blender/makesrna/intern/rna_fcurve.c index b5573e0044d..e71454ef9ec 100644 --- a/source/blender/makesrna/intern/rna_fcurve.c +++ b/source/blender/makesrna/intern/rna_fcurve.c @@ -98,8 +98,6 @@ static StructRNA *rna_FModifierType_refine(struct PointerRNA *ptr) /* ****************************** */ -#include "BLI_utildefines.h" - #include "BKE_fcurve.h" #include "BKE_depsgraph.h" #include "BKE_animsys.h" diff --git a/source/blender/makesrna/intern/rna_fluidsim.c b/source/blender/makesrna/intern/rna_fluidsim.c index 86164092d74..81b4b75aa03 100644 --- a/source/blender/makesrna/intern/rna_fluidsim.c +++ b/source/blender/makesrna/intern/rna_fluidsim.c @@ -40,8 +40,6 @@ #include "DNA_scene_types.h" #include "DNA_particle_types.h" -#include "BLI_utildefines.h" - #include "BKE_depsgraph.h" #include "BKE_fluidsim.h" #include "BKE_global.h" diff --git a/source/blender/makesrna/intern/rna_gpencil.c b/source/blender/makesrna/intern/rna_gpencil.c index 9e298f0e835..a104ae9de5c 100644 --- a/source/blender/makesrna/intern/rna_gpencil.c +++ b/source/blender/makesrna/intern/rna_gpencil.c @@ -37,8 +37,6 @@ #ifdef RNA_RUNTIME -#include "BLI_utildefines.h" - static int rna_GPencilLayer_active_frame_editable(PointerRNA *ptr) { bGPDlayer *gpl= (bGPDlayer *)ptr->data; diff --git a/source/blender/makesrna/intern/rna_group.c b/source/blender/makesrna/intern/rna_group.c index f3fdb9091b3..bd1b7c96998 100644 --- a/source/blender/makesrna/intern/rna_group.c +++ b/source/blender/makesrna/intern/rna_group.c @@ -35,8 +35,6 @@ #include "DNA_scene_types.h" #include "DNA_object_types.h" -#include "BLI_utildefines.h" - #include "BKE_group.h" #include "WM_api.h" diff --git a/source/blender/makesrna/intern/rna_image.c b/source/blender/makesrna/intern/rna_image.c index 774c32ec67a..cc3c25fdb0e 100644 --- a/source/blender/makesrna/intern/rna_image.c +++ b/source/blender/makesrna/intern/rna_image.c @@ -48,8 +48,6 @@ static EnumPropertyItem image_source_items[]= { #ifdef RNA_RUNTIME -#include "BLI_utildefines.h" - #include "IMB_imbuf_types.h" static void rna_Image_animated_update(Main *bmain, Scene *scene, PointerRNA *ptr) diff --git a/source/blender/makesrna/intern/rna_image_api.c b/source/blender/makesrna/intern/rna_image_api.c index 699b21e840e..4f7f32d72c0 100644 --- a/source/blender/makesrna/intern/rna_image_api.c +++ b/source/blender/makesrna/intern/rna_image_api.c @@ -40,7 +40,7 @@ #include "BKE_image.h" #include "BKE_packedFile.h" #include "BKE_main.h" -#include "BKE_utildefines.h" + #include "BKE_global.h" /* grr: G.main->name */ #include "IMB_imbuf.h" diff --git a/source/blender/makesrna/intern/rna_key.c b/source/blender/makesrna/intern/rna_key.c index 1f74097a831..d4021dc1cec 100644 --- a/source/blender/makesrna/intern/rna_key.c +++ b/source/blender/makesrna/intern/rna_key.c @@ -42,8 +42,6 @@ #include "DNA_object_types.h" #include "DNA_scene_types.h" -#include "BLI_utildefines.h" - #include "BKE_animsys.h" #include "BKE_depsgraph.h" #include "BKE_key.h" diff --git a/source/blender/makesrna/intern/rna_lamp.c b/source/blender/makesrna/intern/rna_lamp.c index e0d79c5a852..68ff80f83dc 100644 --- a/source/blender/makesrna/intern/rna_lamp.c +++ b/source/blender/makesrna/intern/rna_lamp.c @@ -38,8 +38,6 @@ #include "MEM_guardedalloc.h" -#include "BLI_utildefines.h" - #include "BKE_depsgraph.h" #include "BKE_main.h" #include "BKE_texture.h" diff --git a/source/blender/makesrna/intern/rna_lattice.c b/source/blender/makesrna/intern/rna_lattice.c index cc998dd49aa..de09d9605cd 100644 --- a/source/blender/makesrna/intern/rna_lattice.c +++ b/source/blender/makesrna/intern/rna_lattice.c @@ -38,8 +38,6 @@ #include "DNA_object_types.h" #include "DNA_scene_types.h" -#include "BLI_utildefines.h" - #include "BKE_depsgraph.h" #include "BKE_lattice.h" #include "BKE_main.h" diff --git a/source/blender/makesrna/intern/rna_main_api.c b/source/blender/makesrna/intern/rna_main_api.c index 08af56f20e9..3ab7d05cd8a 100644 --- a/source/blender/makesrna/intern/rna_main_api.c +++ b/source/blender/makesrna/intern/rna_main_api.c @@ -59,8 +59,6 @@ #include "BKE_font.h" #include "BKE_node.h" -#include "BLI_utildefines.h" - #include "DNA_armature_types.h" #include "DNA_camera_types.h" #include "DNA_curve_types.h" diff --git a/source/blender/makesrna/intern/rna_material.c b/source/blender/makesrna/intern/rna_material.c index ca8c9eb26ba..0fdb42f9146 100644 --- a/source/blender/makesrna/intern/rna_material.c +++ b/source/blender/makesrna/intern/rna_material.c @@ -55,8 +55,6 @@ static EnumPropertyItem prop_texture_coordinates_items[] = { #include "DNA_node_types.h" -#include "BLI_utildefines.h" - #include "BKE_depsgraph.h" #include "BKE_main.h" #include "BKE_material.h" diff --git a/source/blender/makesrna/intern/rna_mesh.c b/source/blender/makesrna/intern/rna_mesh.c index bc1281638ca..26136eeaf3e 100644 --- a/source/blender/makesrna/intern/rna_mesh.c +++ b/source/blender/makesrna/intern/rna_mesh.c @@ -41,13 +41,12 @@ #include "BLI_editVert.h" #include "BLI_math.h" -#include "BLI_utildefines.h" #include "BKE_customdata.h" #include "BKE_depsgraph.h" #include "BKE_main.h" #include "BKE_mesh.h" -#include "BKE_utildefines.h" + #include "ED_mesh.h" /* XXX Bad level call */ diff --git a/source/blender/makesrna/intern/rna_meta.c b/source/blender/makesrna/intern/rna_meta.c index 60c8b1a2693..f1d41d86695 100644 --- a/source/blender/makesrna/intern/rna_meta.c +++ b/source/blender/makesrna/intern/rna_meta.c @@ -35,7 +35,6 @@ #ifdef RNA_RUNTIME #include "BLI_math.h" -#include "BLI_utildefines.h" #include "MEM_guardedalloc.h" diff --git a/source/blender/makesrna/intern/rna_modifier.c b/source/blender/makesrna/intern/rna_modifier.c index 2f5d6870aed..11b0e8f995e 100644 --- a/source/blender/makesrna/intern/rna_modifier.c +++ b/source/blender/makesrna/intern/rna_modifier.c @@ -39,7 +39,6 @@ #include "MEM_guardedalloc.h" #include "BLI_math.h" -#include "BLI_utildefines.h" #include "BKE_animsys.h" #include "BKE_bmesh.h" /* For BevelModifierData */ diff --git a/source/blender/makesrna/intern/rna_nla.c b/source/blender/makesrna/intern/rna_nla.c index 7756d0e7e51..15c8608e523 100644 --- a/source/blender/makesrna/intern/rna_nla.c +++ b/source/blender/makesrna/intern/rna_nla.c @@ -40,8 +40,6 @@ #include <math.h> /* needed for some of the validation stuff... */ -#include "BLI_utildefines.h" - #include "BKE_animsys.h" #include "BKE_nla.h" diff --git a/source/blender/makesrna/intern/rna_object.c b/source/blender/makesrna/intern/rna_object.c index d33d433c32f..6cb5a074c03 100644 --- a/source/blender/makesrna/intern/rna_object.c +++ b/source/blender/makesrna/intern/rna_object.c @@ -29,8 +29,6 @@ #include "RNA_define.h" #include "RNA_enum_types.h" -#include "BLI_utildefines.h" - #include "rna_internal.h" #include "DNA_action_types.h" @@ -145,7 +143,6 @@ EnumPropertyItem object_type_curve_items[] = { #include "BKE_deform.h" #include "BLI_editVert.h" /* for EditMesh->mat_nr */ -#include "BLI_utildefines.h" #include "ED_mesh.h" #include "ED_object.h" diff --git a/source/blender/makesrna/intern/rna_object_api.c b/source/blender/makesrna/intern/rna_object_api.c index 29f4582b0b8..945d0dbb123 100644 --- a/source/blender/makesrna/intern/rna_object_api.c +++ b/source/blender/makesrna/intern/rna_object_api.c @@ -59,7 +59,6 @@ #include "BKE_modifier.h" #include "BLI_math.h" -#include "BLI_utildefines.h" #include "DNA_mesh_types.h" #include "DNA_scene_types.h" diff --git a/source/blender/makesrna/intern/rna_object_force.c b/source/blender/makesrna/intern/rna_object_force.c index f817e03f150..fb8617bc626 100644 --- a/source/blender/makesrna/intern/rna_object_force.c +++ b/source/blender/makesrna/intern/rna_object_force.c @@ -84,8 +84,6 @@ EnumPropertyItem empty_vortex_shape_items[] = { #include "MEM_guardedalloc.h" -#include "BLI_utildefines.h" - #include "DNA_modifier_types.h" #include "DNA_texture_types.h" diff --git a/source/blender/makesrna/intern/rna_particle.c b/source/blender/makesrna/intern/rna_particle.c index 6a5578ef62b..a10f3fa34b8 100644 --- a/source/blender/makesrna/intern/rna_particle.c +++ b/source/blender/makesrna/intern/rna_particle.c @@ -97,7 +97,6 @@ EnumPropertyItem part_hair_ren_as_items[] = { #include "BLI_math.h" #include "BLI_listbase.h" -#include "BLI_utildefines.h" #include "BKE_context.h" #include "BKE_cloth.h" diff --git a/source/blender/makesrna/intern/rna_pose.c b/source/blender/makesrna/intern/rna_pose.c index 6ff73770e7a..7b1a46dd6e2 100644 --- a/source/blender/makesrna/intern/rna_pose.c +++ b/source/blender/makesrna/intern/rna_pose.c @@ -50,7 +50,6 @@ #include "MEM_guardedalloc.h" -#include "BLI_utildefines.h" #include "BLI_ghash.h" #include "BKE_context.h" diff --git a/source/blender/makesrna/intern/rna_property.c b/source/blender/makesrna/intern/rna_property.c index f76ad8627e0..b7ae1229c4a 100644 --- a/source/blender/makesrna/intern/rna_property.c +++ b/source/blender/makesrna/intern/rna_property.c @@ -34,8 +34,6 @@ #ifdef RNA_RUNTIME -#include "BLI_utildefines.h" - #include "BKE_property.h" static StructRNA* rna_GameProperty_refine(struct PointerRNA *ptr) diff --git a/source/blender/makesrna/intern/rna_render.c b/source/blender/makesrna/intern/rna_render.c index 29e8b2ed31a..5d1fc51a70f 100644 --- a/source/blender/makesrna/intern/rna_render.c +++ b/source/blender/makesrna/intern/rna_render.c @@ -30,9 +30,10 @@ #include "rna_internal.h" - #include "RE_pipeline.h" +#include "BKE_utildefines.h" + #ifdef RNA_RUNTIME #include "MEM_guardedalloc.h" @@ -42,7 +43,6 @@ #include "BKE_context.h" #include "BKE_report.h" - /* RenderEngine */ static RenderEngineType internal_render_type = { diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c index ed7b88383f7..23c045ba4f9 100644 --- a/source/blender/makesrna/intern/rna_scene.c +++ b/source/blender/makesrna/intern/rna_scene.c @@ -157,7 +157,6 @@ EnumPropertyItem image_type_items[] = { #include "BLI_threads.h" #include "BLI_editVert.h" #include "BLI_blenlib.h" -#include "BLI_utildefines.h" #include "BKE_context.h" #include "BKE_global.h" diff --git a/source/blender/makesrna/intern/rna_scene_api.c b/source/blender/makesrna/intern/rna_scene_api.c index 3852e7a225d..e891d64d514 100644 --- a/source/blender/makesrna/intern/rna_scene_api.c +++ b/source/blender/makesrna/intern/rna_scene_api.c @@ -37,7 +37,6 @@ #include "BKE_utildefines.h" #ifdef RNA_RUNTIME -#include "BLI_utildefines.h" #include "BKE_animsys.h" #include "BKE_depsgraph.h" diff --git a/source/blender/makesrna/intern/rna_sculpt_paint.c b/source/blender/makesrna/intern/rna_sculpt_paint.c index 477121b79c4..ae13e5c68d9 100644 --- a/source/blender/makesrna/intern/rna_sculpt_paint.c +++ b/source/blender/makesrna/intern/rna_sculpt_paint.c @@ -51,8 +51,6 @@ static EnumPropertyItem particle_edit_hair_brush_items[] = { #ifdef RNA_RUNTIME #include "MEM_guardedalloc.h" -#include "BLI_utildefines.h" - #include "BKE_context.h" #include "BKE_pointcache.h" #include "BKE_particle.h" diff --git a/source/blender/makesrna/intern/rna_sensor.c b/source/blender/makesrna/intern/rna_sensor.c index 011e6a44980..47a619f661a 100644 --- a/source/blender/makesrna/intern/rna_sensor.c +++ b/source/blender/makesrna/intern/rna_sensor.c @@ -57,8 +57,6 @@ EnumPropertyItem sensor_type_items[] ={ #ifdef RNA_RUNTIME -#include "BLI_utildefines.h" - #include "BKE_sca.h" static StructRNA* rna_Sensor_refine(struct PointerRNA *ptr) diff --git a/source/blender/makesrna/intern/rna_sequencer.c b/source/blender/makesrna/intern/rna_sequencer.c index 36934d81611..233ffd06188 100644 --- a/source/blender/makesrna/intern/rna_sequencer.c +++ b/source/blender/makesrna/intern/rna_sequencer.c @@ -46,8 +46,6 @@ #ifdef RNA_RUNTIME -#include "BLI_utildefines.h" - static float to_dB(float x) { return logf(x * x + 1e-30f) * 4.34294480f; diff --git a/source/blender/makesrna/intern/rna_smoke.c b/source/blender/makesrna/intern/rna_smoke.c index 6e48ff005d5..fc1584c7a0f 100644 --- a/source/blender/makesrna/intern/rna_smoke.c +++ b/source/blender/makesrna/intern/rna_smoke.c @@ -43,8 +43,6 @@ #ifdef RNA_RUNTIME -#include "BLI_utildefines.h" - #include "BKE_context.h" #include "BKE_depsgraph.h" #include "BKE_particle.h" diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c index d573439c7de..4a98d71a76a 100644 --- a/source/blender/makesrna/intern/rna_space.c +++ b/source/blender/makesrna/intern/rna_space.c @@ -107,7 +107,6 @@ EnumPropertyItem viewport_shade_items[] = { #include "DNA_screen_types.h" #include "BLI_math.h" -#include "BLI_utildefines.h" #include "BKE_animsys.h" #include "BKE_brush.h" diff --git a/source/blender/makesrna/intern/rna_text.c b/source/blender/makesrna/intern/rna_text.c index 31c372b493a..66046939350 100644 --- a/source/blender/makesrna/intern/rna_text.c +++ b/source/blender/makesrna/intern/rna_text.c @@ -39,8 +39,6 @@ #ifdef RNA_RUNTIME -#include "BLI_utildefines.h" - int text_file_modified(Text *text); static void rna_Text_filename_get(PointerRNA *ptr, char *value) diff --git a/source/blender/makesrna/intern/rna_texture.c b/source/blender/makesrna/intern/rna_texture.c index f99355c0db9..7ad59795732 100644 --- a/source/blender/makesrna/intern/rna_texture.c +++ b/source/blender/makesrna/intern/rna_texture.c @@ -74,8 +74,6 @@ EnumPropertyItem texture_type_items[] = { #include "RNA_access.h" -#include "BLI_utildefines.h" - #include "BKE_depsgraph.h" #include "BKE_image.h" #include "BKE_texture.h" diff --git a/source/blender/makesrna/intern/rna_ui.c b/source/blender/makesrna/intern/rna_ui.c index ace35d6fb0a..0c26741f06c 100644 --- a/source/blender/makesrna/intern/rna_ui.c +++ b/source/blender/makesrna/intern/rna_ui.c @@ -58,7 +58,6 @@ EnumPropertyItem operator_context_items[] = { #include "RNA_access.h" #include "BLI_dynstr.h" -#include "BLI_utildefines.h" #include "BKE_context.h" #include "BKE_report.h" diff --git a/source/blender/makesrna/intern/rna_userdef.c b/source/blender/makesrna/intern/rna_userdef.c index 4793e7aace6..90124e5f376 100644 --- a/source/blender/makesrna/intern/rna_userdef.c +++ b/source/blender/makesrna/intern/rna_userdef.c @@ -40,8 +40,6 @@ #include "BLI_utildefines.h" -#include "BKE_utildefines.h" - #include "BKE_sound.h" #ifdef RNA_RUNTIME diff --git a/source/blender/makesrna/intern/rna_wm.c b/source/blender/makesrna/intern/rna_wm.c index 5b5d94e3b93..a7870243afc 100644 --- a/source/blender/makesrna/intern/rna_wm.c +++ b/source/blender/makesrna/intern/rna_wm.c @@ -297,8 +297,6 @@ EnumPropertyItem wm_report_items[] = { #include <assert.h> -#include "BLI_utildefines.h" - #include "WM_api.h" #include "BKE_idprop.h" diff --git a/source/blender/makesrna/intern/rna_world.c b/source/blender/makesrna/intern/rna_world.c index 53eba7cce8d..1358964a92b 100644 --- a/source/blender/makesrna/intern/rna_world.c +++ b/source/blender/makesrna/intern/rna_world.c @@ -39,8 +39,6 @@ #include "MEM_guardedalloc.h" -#include "BLI_utildefines.h" - #include "BKE_depsgraph.h" #include "BKE_main.h" #include "BKE_texture.h" |