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>2011-03-25 04:55:00 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-03-25 04:55:00 +0300
commitb5100196021d12129c0d7e80be7e202c319ea120 (patch)
tree4dbd5168c42ed7412df3adfc5114a0f1c52ea2ed /source/blender/makesrna/intern/rna_internal_types.h
parentfcc5b5c48c127b0b4567434e8ce5c30dc91ae1e3 (diff)
fix for incorrect prints with RNA errors (own fault, CONTAINER_RNA_ID was incorrect) & close keymap file after running.
Diffstat (limited to 'source/blender/makesrna/intern/rna_internal_types.h')
-rw-r--r--source/blender/makesrna/intern/rna_internal_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_internal_types.h b/source/blender/makesrna/intern/rna_internal_types.h
index ce7ee030906..eb1beb90567 100644
--- a/source/blender/makesrna/intern/rna_internal_types.h
+++ b/source/blender/makesrna/intern/rna_internal_types.h
@@ -346,6 +346,6 @@ struct BlenderRNA {
ListBase structs;
};
-#define CONTAINER_RNA_ID(cont) (const char *)(((ContainerRNA *)(cont))+1)
+#define CONTAINER_RNA_ID(cont) (*(const char **)(((ContainerRNA *)(cont))+1))
#endif /* RNA_INTERNAL_TYPES_H */