Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/blender/editors/transform/transform_generics.c6
-rw-r--r--source/blender/makesrna/intern/rna_wm_api.c1
2 files changed, 3 insertions, 4 deletions
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"