diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-03-21 20:06:46 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-03-21 20:06:46 +0400 |
commit | fdc3b7dfefbd980c8606a3a2639fbceaeb52cb13 (patch) | |
tree | d566a48261299dc14cf6f24959d65e07e4ef3524 /source/blender/makesrna/intern/rna_object_api.c | |
parent | a8b6b5ec4c5c864fccda0e10990b65a784fd89e3 (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.c | 5 |
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) |