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:
authorJuho Vepsalainen <bebraw@gmail.com>2008-12-01 22:02:27 +0300
committerJuho Vepsalainen <bebraw@gmail.com>2008-12-01 22:02:27 +0300
commit1ebf257bf4df7866dfd75c5e35e8cf14efa73bc8 (patch)
tree3e72e859d766b1bb1cad0b2d5d1bd2aec5bd0816 /source/blender/makesrna/intern/rna_ID.c
parent6a73a27d8100f2f6292125cd8ea78573402a43cd (diff)
RNA: Curves and VFont
Implemented RNA wrappers for curves and VFont. Only issue I could not yet solve is related to struct CharInfo curinfo; . This particular line proved to be hard to wrap and I therefore marked it as a TODO should someone want to fix this issue. I also cleaned up makesrna.c a bit by unifying brush/meta parts under one call just the way it is done in the case of other wrappers.
Diffstat (limited to 'source/blender/makesrna/intern/rna_ID.c')
-rw-r--r--source/blender/makesrna/intern/rna_ID.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_ID.c b/source/blender/makesrna/intern/rna_ID.c
index 050995435ef..d1ac53c4a25 100644
--- a/source/blender/makesrna/intern/rna_ID.c
+++ b/source/blender/makesrna/intern/rna_ID.c
@@ -60,6 +60,7 @@ static StructRNA *rna_ID_refine(PointerRNA *ptr)
switch(GS(id->name)) {
case ID_BR: return &RNA_Brush;
case ID_CA: return &RNA_Camera;
+ case ID_CU: return &RNA_Curve;
case ID_GR: return &RNA_Group;
case ID_IM: return &RNA_Image;
case ID_IP: return &RNA_Ipo;
@@ -73,6 +74,7 @@ static StructRNA *rna_ID_refine(PointerRNA *ptr)
case ID_OB: return &RNA_Object;
case ID_SCE: return &RNA_Scene;
case ID_SCR: return &RNA_Screen;
+ case ID_VF: return &RNA_VFont;
case ID_WO: return &RNA_World;
case ID_WM: return &RNA_WindowManager;
default: return &RNA_ID;