Cleanup: duplicate include
authorCampbell Barton <ideasman42@gmail.com>
Fri, 30 Nov 2018 21:29:26 +0000 (08:29 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 30 Nov 2018 21:29:26 +0000 (08:29 +1100)
source/blender/editors/transform/transform_generics.c
source/blender/makesrna/intern/rna_wm_api.c

index f27df3bba25891221bfbdb3b75cec4326a25b3a0..0a7d139d7a18a296075d41e9d9a5b902f1e88545 100644 (file)
@@ -1404,9 +1404,9 @@ void initTransInfo(bContext *C, TransInfo *t, wmOperator *op, const wmEvent *eve
 
                t->orientation.index = 0;
                ARRAY_SET_ITEMS(
-                               t->orientation.types,
-                               NULL,
-                               &t->orientation.user);
+                       t->orientation.types,
+                       NULL,
+                       &t->orientation.user);
 
                /* Make second orientation local if both are global. */
                if (t->orientation.user == V3D_MANIP_GLOBAL) {
index 95c7d1cadf45a6a13a3245f7b8e03518711db489..874fdb620292a6f808c1e86e235c12c995e2e207 100644 (file)
@@ -70,7 +70,6 @@ const EnumPropertyItem rna_enum_window_cursor_items[] = {
 
 #ifdef RNA_RUNTIME
 
-#include "UI_interface.h"
 #include "BKE_context.h"
 
 #include "WM_types.h"