fix [#25748] Addons register parameters/functions more than once
authorCampbell Barton <ideasman42@gmail.com>
Tue, 25 Jan 2011 06:54:57 +0000 (06:54 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 25 Jan 2011 06:54:57 +0000 (06:54 +0000)
commitc0e74f9dce632795ed6e083436353b4df4d7e62c
treecc5d6f06da0bdb5d4f73a4c040bfcc9159b74a31
parent17509e733429bdcc3a6131a775d2d73252b6bb88
fix [#25748] Addons register parameters/functions more than once
- values were added to both the classes __dict__ as well as the internal StructRNA.
- made properties available from the type since this is where the python api assigns them:
>>> bpy.types.Scene.frame_start
<bpy_struct, IntProperty("frame_start")>
- rename RNA_struct_type_properties() -> RNA_struct_type_properties(), added RNA_struct_type_find_property()
source/blender/blenkernel/intern/node.c
source/blender/makesrna/RNA_access.h
source/blender/makesrna/intern/rna_access.c
source/blender/python/intern/bpy_rna.c