[Bf-blender-cvs] [597d425638d] blender2.8: Cleanup: duplicate include

Campbell Barton noreply at git.blender.org
Fri Nov 30 22:34:38 CET 2018


Commit: 597d425638d304e7d70bd4d1a2d73eaf880d9242
Author: Campbell Barton
Date:   Sat Dec 1 08:29:26 2018 +1100
Branches: blender2.8
https://developer.blender.org/rB597d425638d304e7d70bd4d1a2d73eaf880d9242

Cleanup: duplicate include

===================================================================

M	source/blender/editors/transform/transform_generics.c
M	source/blender/makesrna/intern/rna_wm_api.c

===================================================================

diff --git a/source/blender/editors/transform/transform_generics.c b/source/blender/editors/transform/transform_generics.c
index f27df3bba25..0a7d139d7a1 100644
--- a/source/blender/editors/transform/transform_generics.c
+++ b/source/blender/editors/transform/transform_generics.c
@@ -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) {
diff --git a/source/blender/makesrna/intern/rna_wm_api.c b/source/blender/makesrna/intern/rna_wm_api.c
index 95c7d1cadf4..874fdb62029 100644
--- a/source/blender/makesrna/intern/rna_wm_api.c
+++ b/source/blender/makesrna/intern/rna_wm_api.c
@@ -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"



More information about the Bf-blender-cvs mailing list