Merged changes in the trunk up to revision 27752.
[blender.git] / source / blender / editors / transform / transform_orientations.c
index 805afa4fb95af947013aeed3788756ce0be8dc97..253f6689e1dd8a7d3eb5a218f897165e2e4d1967 100644 (file)
 #include "MEM_guardedalloc.h"
 
 #include "DNA_armature_types.h"
-#include "DNA_action_types.h"
 #include "DNA_curve_types.h"
-#include "DNA_listBase.h"
 #include "DNA_object_types.h"
-#include "DNA_meshdata_types.h"
-#include "DNA_mesh_types.h"
-#include "DNA_meta_types.h"
 #include "DNA_scene_types.h"
 #include "DNA_screen_types.h"
-#include "DNA_space_types.h"
 #include "DNA_view3d_types.h"
 
 #include "BKE_global.h"
@@ -57,9 +51,7 @@
 
 #include "ED_armature.h"
 #include "ED_mesh.h"
-#include "ED_util.h"
 
-#include "UI_interface.h"
 
 #include "RNA_define.h"
 
@@ -483,7 +475,7 @@ void applyTransformOrientation(const bContext *C, float mat[3][3], char *name) {
                                break;
                        }
                }
-       }
+         }
 }
 
 static int count_bone_select(bArmature *arm, ListBase *lb, int do_it) 
@@ -814,7 +806,7 @@ int getTransformOrientation(const bContext *C, float normal[3], float plane[3],
                                float mat[4][4];
 
                                /* Rotation of MetaElem is stored in quat */
-                               quat_to_mat4( mat,ml_sel->quat);
+                                quat_to_mat4( mat,ml_sel->quat);
 
                                VECCOPY(normal, mat[2]);