diff options
author | Martin Poirier <theeth@yahoo.com> | 2010-01-05 23:18:45 +0300 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2010-01-05 23:18:45 +0300 |
commit | 62e14cdcb9362d809c3192135b810f2ed5adf21a (patch) | |
tree | 2ec18740acda2d527444a52c19a7852f93ce3745 /source/blender/makesdna/DNA_windowmanager_types.h | |
parent | d51e0594fb74b390a9dc5a2807eef2359e24769a (diff) |
Broke DNA yesterday (stupid sdna can't use macro for length).
Only affected user preferences (all .B25.blend saved after revision 25726 would crash on load)
Diffstat (limited to 'source/blender/makesdna/DNA_windowmanager_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_windowmanager_types.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_windowmanager_types.h b/source/blender/makesdna/DNA_windowmanager_types.h index 0b2d0255f02..7df49bfb2e2 100644 --- a/source/blender/makesdna/DNA_windowmanager_types.h +++ b/source/blender/makesdna/DNA_windowmanager_types.h @@ -182,7 +182,7 @@ typedef struct wmOperatorTypeMacro { struct wmOperatorTypeMacro *next, *prev; /* operator id */ - char idname[OP_MAX_TYPENAME]; + char idname[64]; /* rna pointer to access properties, like keymap */ struct IDProperty *properties; /* operator properties, assigned to ptr->data and can be written to a file */ struct PointerRNA *ptr; @@ -194,7 +194,7 @@ typedef struct wmKeyMapItem { struct wmKeyMapItem *next, *prev; /* operator */ - char idname[OP_MAX_TYPENAME]; /* used to retrieve operator type pointer */ + char idname[64]; /* used to retrieve operator type pointer */ IDProperty *properties; /* operator properties, assigned to ptr->data and can be written to a file */ /* modal */ @@ -267,7 +267,7 @@ typedef struct wmOperator { struct wmOperator *next, *prev; /* saved */ - char idname[OP_MAX_TYPENAME];/* used to retrieve type pointer */ + char idname[64];/* used to retrieve type pointer */ IDProperty *properties; /* saved, user-settable properties */ /* runtime */ |