[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [54919] trunk/blender/source/blender/ editors/armature: code cleanup: includes

Campbell Barton ideasman42 at gmail.com
Thu Feb 28 02:28:47 CET 2013


Revision: 54919
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=54919
Author:   campbellbarton
Date:     2013-02-28 01:28:46 +0000 (Thu, 28 Feb 2013)
Log Message:
-----------
code cleanup: includes

Modified Paths:
--------------
    trunk/blender/source/blender/editors/armature/armature_add.c
    trunk/blender/source/blender/editors/armature/armature_edit.c
    trunk/blender/source/blender/editors/armature/armature_naming.c
    trunk/blender/source/blender/editors/armature/armature_ops.c
    trunk/blender/source/blender/editors/armature/armature_relations.c
    trunk/blender/source/blender/editors/armature/armature_select.c
    trunk/blender/source/blender/editors/armature/armature_skinning.c
    trunk/blender/source/blender/editors/armature/armature_utils.c
    trunk/blender/source/blender/editors/armature/editarmature_generate.c
    trunk/blender/source/blender/editors/armature/editarmature_retarget.c
    trunk/blender/source/blender/editors/armature/editarmature_sketch.c
    trunk/blender/source/blender/editors/armature/meshlaplacian.c
    trunk/blender/source/blender/editors/armature/pose_edit.c
    trunk/blender/source/blender/editors/armature/pose_group.c
    trunk/blender/source/blender/editors/armature/pose_lib.c
    trunk/blender/source/blender/editors/armature/pose_select.c
    trunk/blender/source/blender/editors/armature/pose_slide.c
    trunk/blender/source/blender/editors/armature/pose_transform.c
    trunk/blender/source/blender/editors/armature/pose_utils.c
    trunk/blender/source/blender/editors/armature/reeb.c

Modified: trunk/blender/source/blender/editors/armature/armature_add.c
===================================================================
--- trunk/blender/source/blender/editors/armature/armature_add.c	2013-02-28 00:45:07 UTC (rev 54918)
+++ trunk/blender/source/blender/editors/armature/armature_add.c	2013-02-28 01:28:46 UTC (rev 54919)
@@ -29,46 +29,21 @@
  *  \ingroup edarmature
  */
 
-
-#include <ctype.h>
-#include <stdlib.h>
-#include <stddef.h>
-#include <string.h>
-#include <math.h> 
-#include <float.h> 
-
-
-#include "DNA_anim_types.h"
 #include "DNA_armature_types.h"
 #include "DNA_constraint_types.h"
 #include "DNA_object_types.h"
 #include "DNA_scene_types.h"
-#include "DNA_modifier_types.h"
 
 #include "MEM_guardedalloc.h"
 
 #include "BLI_blenlib.h"
 #include "BLI_math.h"
-#include "BLI_utildefines.h"
-#include "BLI_ghash.h"
 
-#include "BKE_animsys.h"
 #include "BKE_action.h"
-#include "BKE_armature.h"
 #include "BKE_constraint.h"
 #include "BKE_context.h"
-#include "BKE_deform.h"
-#include "BKE_depsgraph.h"
-#include "BKE_DerivedMesh.h"
-#include "BKE_global.h"
 #include "BKE_idprop.h"
-#include "BKE_main.h"
-#include "BKE_object.h"
-#include "BKE_report.h"
-#include "BKE_modifier.h"
 
-#include "BIF_gl.h"
-
 #include "RNA_access.h"
 #include "RNA_define.h"
 
@@ -76,15 +51,9 @@
 #include "WM_types.h"
 
 #include "ED_armature.h"
-#include "ED_keyframing.h"
-#include "ED_object.h"
 #include "ED_screen.h"
-#include "ED_util.h"
 #include "ED_view3d.h"
 
-#include "UI_interface.h"
-#include "UI_resources.h"
-
 #include "armature_intern.h"
 
 /* *************** Adding stuff in editmode *************** */

Modified: trunk/blender/source/blender/editors/armature/armature_edit.c
===================================================================
--- trunk/blender/source/blender/editors/armature/armature_edit.c	2013-02-28 00:45:07 UTC (rev 54918)
+++ trunk/blender/source/blender/editors/armature/armature_edit.c	2013-02-28 01:28:46 UTC (rev 54919)
@@ -29,47 +29,25 @@
  *  \ingroup edarmature
  */
 
-
-#include <ctype.h>
-#include <stdlib.h>
-#include <stddef.h>
-#include <string.h>
-#include <math.h> 
-#include <float.h> 
 #include <assert.h> 
 
-
-#include "DNA_anim_types.h"
 #include "DNA_armature_types.h"
 #include "DNA_constraint_types.h"
 #include "DNA_object_types.h"
 #include "DNA_scene_types.h"
-#include "DNA_modifier_types.h"
 
 #include "MEM_guardedalloc.h"
 
 #include "BLI_blenlib.h"
 #include "BLI_math.h"
-#include "BLI_utildefines.h"
-#include "BLI_ghash.h"
 
-#include "BKE_animsys.h"
 #include "BKE_action.h"
 #include "BKE_armature.h"
 #include "BKE_constraint.h"
 #include "BKE_context.h"
-#include "BKE_deform.h"
-#include "BKE_depsgraph.h"
-#include "BKE_DerivedMesh.h"
 #include "BKE_global.h"
-#include "BKE_idprop.h"
-#include "BKE_main.h"
-#include "BKE_object.h"
 #include "BKE_report.h"
-#include "BKE_modifier.h"
 
-#include "BIF_gl.h"
-
 #include "RNA_access.h"
 #include "RNA_define.h"
 
@@ -77,15 +55,9 @@
 #include "WM_types.h"
 
 #include "ED_armature.h"
-#include "ED_keyframing.h"
-#include "ED_object.h"
 #include "ED_screen.h"
-#include "ED_util.h"
 #include "ED_view3d.h"
 
-#include "UI_interface.h"
-#include "UI_resources.h"
-
 #include "armature_intern.h"
 
 /* ************************** Object Tools Exports ******************************* */

Modified: trunk/blender/source/blender/editors/armature/armature_naming.c
===================================================================
--- trunk/blender/source/blender/editors/armature/armature_naming.c	2013-02-28 00:45:07 UTC (rev 54918)
+++ trunk/blender/source/blender/editors/armature/armature_naming.c	2013-02-28 01:28:46 UTC (rev 54919)
@@ -29,27 +29,13 @@
  *  \ingroup edarmature
  */
 
-
-#include <ctype.h>
-#include <stdlib.h>
-#include <stddef.h>
 #include <string.h>
-#include <math.h> 
-#include <float.h> 
 
-
-#include "DNA_anim_types.h"
 #include "DNA_armature_types.h"
 #include "DNA_constraint_types.h"
 #include "DNA_object_types.h"
-#include "DNA_scene_types.h"
-#include "DNA_modifier_types.h"
 
-#include "MEM_guardedalloc.h"
-
 #include "BLI_blenlib.h"
-#include "BLI_math.h"
-#include "BLI_utildefines.h"
 #include "BLI_ghash.h"
 
 #include "BKE_animsys.h"
@@ -59,16 +45,10 @@
 #include "BKE_context.h"
 #include "BKE_deform.h"
 #include "BKE_depsgraph.h"
-#include "BKE_DerivedMesh.h"
 #include "BKE_global.h"
-#include "BKE_idprop.h"
 #include "BKE_main.h"
-#include "BKE_object.h"
-#include "BKE_report.h"
 #include "BKE_modifier.h"
 
-#include "BIF_gl.h"
-
 #include "RNA_access.h"
 #include "RNA_define.h"
 
@@ -76,15 +56,8 @@
 #include "WM_types.h"
 
 #include "ED_armature.h"
-#include "ED_keyframing.h"
-#include "ED_object.h"
 #include "ED_screen.h"
-#include "ED_util.h"
-#include "ED_view3d.h"
 
-#include "UI_interface.h"
-#include "UI_resources.h"
-
 #include "armature_intern.h"
 
 /* This file contains functions/API's for renaming bones and/or working with them */

Modified: trunk/blender/source/blender/editors/armature/armature_ops.c
===================================================================
--- trunk/blender/source/blender/editors/armature/armature_ops.c	2013-02-28 00:45:07 UTC (rev 54918)
+++ trunk/blender/source/blender/editors/armature/armature_ops.c	2013-02-28 01:28:46 UTC (rev 54919)
@@ -28,16 +28,8 @@
  *  \ingroup edarmature
  */
 
-
-#include <stdlib.h>
-#include <math.h>
-
-#include "BLO_sys_types.h"
-
 #include "BLI_math.h"
-#include "BLI_blenlib.h"
 
-
 #include "RNA_access.h"
 
 #include "WM_api.h"

Modified: trunk/blender/source/blender/editors/armature/armature_relations.c
===================================================================
--- trunk/blender/source/blender/editors/armature/armature_relations.c	2013-02-28 00:45:07 UTC (rev 54918)
+++ trunk/blender/source/blender/editors/armature/armature_relations.c	2013-02-28 01:28:46 UTC (rev 54919)
@@ -29,48 +29,25 @@
  *  \ingroup edarmature
  */
 
-
-#include <ctype.h>
-#include <stdlib.h>
-#include <stddef.h>
-#include <string.h>
-#include <math.h> 
-#include <float.h>
-
-
-#include "DNA_anim_types.h"
 #include "DNA_armature_types.h"
 #include "DNA_constraint_types.h"
 #include "DNA_object_types.h"
 #include "DNA_scene_types.h"
-#include "DNA_modifier_types.h"
 
-#include "MEM_guardedalloc.h"
-
 #include "BLI_blenlib.h"
 #include "BLI_math.h"
-#include "BLI_utildefines.h"
-#include "BLI_ghash.h"
 
 #include "BLF_translation.h"
 
-#include "BKE_animsys.h"
 #include "BKE_action.h"
 #include "BKE_armature.h"
 #include "BKE_constraint.h"
 #include "BKE_context.h"
-#include "BKE_deform.h"
 #include "BKE_depsgraph.h"
-#include "BKE_DerivedMesh.h"
 #include "BKE_global.h"
-#include "BKE_idprop.h"
 #include "BKE_main.h"
-#include "BKE_object.h"
 #include "BKE_report.h"
-#include "BKE_modifier.h"
 
-#include "BIF_gl.h"
-
 #include "RNA_access.h"
 #include "RNA_define.h"
 
@@ -78,11 +55,8 @@
 #include "WM_types.h"
 
 #include "ED_armature.h"
-#include "ED_keyframing.h"
 #include "ED_object.h"
 #include "ED_screen.h"
-#include "ED_util.h"
-#include "ED_view3d.h"
 
 #include "UI_interface.h"
 #include "UI_resources.h"

Modified: trunk/blender/source/blender/editors/armature/armature_select.c
===================================================================
--- trunk/blender/source/blender/editors/armature/armature_select.c	2013-02-28 00:45:07 UTC (rev 54918)
+++ trunk/blender/source/blender/editors/armature/armature_select.c	2013-02-28 01:28:46 UTC (rev 54919)
@@ -29,41 +29,15 @@
  *  \ingroup edarmature
  */
 
-
-#include <ctype.h>
-#include <stdlib.h>
-#include <stddef.h>
-#include <string.h>
-#include <math.h> 
-#include <float.h> 
-#include <assert.h> 
-
-
-#include "DNA_anim_types.h"
 #include "DNA_armature_types.h"
-#include "DNA_constraint_types.h"
 #include "DNA_object_types.h"
 #include "DNA_scene_types.h"
 
-#include "MEM_guardedalloc.h"
-
 #include "BLI_blenlib.h"
 #include "BLI_math.h"
-#include "BLI_utildefines.h"
-#include "BLI_ghash.h"
 
-#include "BKE_animsys.h"
-#include "BKE_action.h"
-#include "BKE_armature.h"
-#include "BKE_constraint.h"
 #include "BKE_context.h"
 #include "BKE_deform.h"
-#include "BKE_depsgraph.h"
-#include "BKE_DerivedMesh.h"
-#include "BKE_global.h"
-#include "BKE_idprop.h"
-#include "BKE_main.h"
-#include "BKE_object.h"
 #include "BKE_report.h"
 
 #include "BIF_gl.h"
@@ -75,14 +49,9 @@
 #include "WM_types.h"
 
 #include "ED_armature.h"
-#include "ED_object.h"
 #include "ED_screen.h"
-#include "ED_util.h"
 #include "ED_view3d.h"
 
-#include "UI_interface.h"
-#include "UI_resources.h"
-
 #include "armature_intern.h"
 
 /* **************** PoseMode & EditMode Selection Buffer Queries *************************** */

Modified: trunk/blender/source/blender/editors/armature/armature_skinning.c
===================================================================
--- trunk/blender/source/blender/editors/armature/armature_skinning.c	2013-02-28 00:45:07 UTC (rev 54918)
+++ trunk/blender/source/blender/editors/armature/armature_skinning.c	2013-02-28 01:28:46 UTC (rev 54919)
@@ -30,20 +30,8 @@
  *  \ingroup edarmature
  */
 
-
-#include <ctype.h>
-#include <stdlib.h>
-#include <stddef.h>
-#include <string.h>
-#include <math.h> 
-#include <float.h>
-
-
-#include "DNA_anim_types.h"
 #include "DNA_mesh_types.h"
 #include "DNA_armature_types.h"
-#include "DNA_constraint_types.h"
-#include "DNA_meshdata_types.h"
 #include "DNA_object_types.h"
 #include "DNA_scene_types.h"
 
@@ -51,44 +39,17 @@
 
 #include "BLI_blenlib.h"
 #include "BLI_math.h"
-#include "BLI_utildefines.h"
-#include "BLI_ghash.h"
 
-#include "BKE_animsys.h"
 #include "BKE_action.h"
 #include "BKE_armature.h"
-#include "BKE_constraint.h"
-#include "BKE_context.h"
 #include "BKE_deform.h"
-#include "BKE_depsgraph.h"
-#include "BKE_DerivedMesh.h"
-#include "BKE_global.h"
-#include "BKE_idprop.h"
-#include "BKE_main.h"
-#include "BKE_object.h"
 #include "BKE_report.h"
 #include "BKE_subsurf.h"
 #include "BKE_modifier.h"
-#include "DNA_object_types.h"
 
-#include "BIF_gl.h"
-
-#include "RNA_access.h"
-#include "RNA_define.h"
-
-#include "WM_api.h"
-#include "WM_types.h"
-
 #include "ED_armature.h"
-#include "ED_keyframing.h"
 #include "ED_mesh.h"
-#include "ED_object.h"
-#include "ED_screen.h"
-#include "ED_util.h"
-#include "ED_view3d.h"
 
-#include "UI_interface.h"
-#include "UI_resources.h"
 
 #include "armature_intern.h"
 #include "meshlaplacian.h"

Modified: trunk/blender/source/blender/editors/armature/armature_utils.c
===================================================================
--- trunk/blender/source/blender/editors/armature/armature_utils.c	2013-02-28 00:45:07 UTC (rev 54918)

@@ Diff output truncated at 10240 characters. @@



More information about the Bf-blender-cvs mailing list