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:
authorCampbell Barton <ideasman42@gmail.com>2013-03-21 20:06:46 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-03-21 20:06:46 +0400
commitfdc3b7dfefbd980c8606a3a2639fbceaeb52cb13 (patch)
treed566a48261299dc14cf6f24959d65e07e4ef3524 /source/blender/makesrna/intern/rna_object_api.c
parenta8b6b5ec4c5c864fccda0e10990b65a784fd89e3 (diff)
fix for own recent commit - added function into wrong side of ifdef
Diffstat (limited to 'source/blender/makesrna/intern/rna_object_api.c')
-rw-r--r--source/blender/makesrna/intern/rna_object_api.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_object_api.c b/source/blender/makesrna/intern/rna_object_api.c
index e7e8821a2f9..7715dfa64de 100644
--- a/source/blender/makesrna/intern/rna_object_api.c
+++ b/source/blender/makesrna/intern/rna_object_api.c
@@ -76,6 +76,8 @@ static EnumPropertyItem space_items[] = {
#include "BKE_object.h"
#include "BKE_report.h"
+#include "ED_object.h"
+
#include "DNA_curve_types.h"
#include "DNA_mesh_types.h"
#include "DNA_meshdata_types.h"
@@ -391,6 +393,7 @@ void rna_Object_dm_info(struct Object *ob, int type, char *result)
}
}
}
+#endif /* NDEBUG */
static int rna_Object_update_from_editmode(Object *ob)
{
@@ -399,8 +402,6 @@ static int rna_Object_update_from_editmode(Object *ob)
}
return false;
}
-#endif /* NDEBUG */
-
#else /* RNA_RUNTIME */
void RNA_api_object(StructRNA *srna)