diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-11-24 18:51:55 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-11-24 18:51:55 +0300 |
commit | 2a8484bc24f0ac31bcc48c96d2ea12c03c257dab (patch) | |
tree | d4f39e9f940cb9f9ef49191794998463a1185a53 /source/blender/makesdna/DNA_windowmanager_types.h | |
parent | 0c625e20ad070560ce4ea8fb78096a3119a8357e (diff) |
RNA
* Disable editable pointers for now, difficult to support well.
* Swap parameters in RNA_access.h functions to make it more
consistent.
* Rename rna members for operators to wmOperatorType.srna, and
wmOperator.ptr, to make the distincton a bit clearer.
• Removed the RNA_int_default and similar functions, they're too
confusing. RNA_property_is_set can still be used to achieve
the same goal.
* Add functions to create RNA pointers.
Some example code for RNA data access and operator properties:
http://wiki.blender.org/index.php/BlenderDev/Blender2.5/RNAExampleCode
Diffstat (limited to 'source/blender/makesdna/DNA_windowmanager_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_windowmanager_types.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_windowmanager_types.h b/source/blender/makesdna/DNA_windowmanager_types.h index d18329c60d5..05d4bc10486 100644 --- a/source/blender/makesdna/DNA_windowmanager_types.h +++ b/source/blender/makesdna/DNA_windowmanager_types.h @@ -135,7 +135,7 @@ typedef struct wmOperatorType { void *(*uiBlock)(struct wmOperator *); /* rna for properties */ - struct StructRNA *rna; + struct StructRNA *srna; short flag; @@ -172,7 +172,7 @@ typedef struct wmOperator { IDProperty *properties; /* runtime */ - struct PointerRNA *rna; + struct PointerRNA *ptr; ListBase *modallist; } wmOperator; |