diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-07-19 04:49:44 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-07-19 04:49:44 +0400 |
commit | d7564761c03c560efd33591d47559f889d07bff1 (patch) | |
tree | c0a3deb5ddf55bc637e53c1a038f46d74281eabf /source/blender/makesdna/DNA_windowmanager_types.h | |
parent | ad2e306b09bc1b53446f248d24621476c1eb9093 (diff) |
operator macro playback (run operator reports in the console)
- reports can be selected with RMB, Border (bkey) and (de)select all.
- delete reports (X key)
- run operators in the console (R key)
- copy reports (Ctrl+C), can be pasted in the text editor an run with alt+p
Details
- Added "selected_editable_objects" and "selected_editable_bases" to screen_context.c, use the scene layers, this was needed for duplicate to run outside the 3D view.
- RNA_property_as_string converted an array of 1 into "(num)" need a comma so python sees it as a tuple - "(num,)"
- add flag to reports, use for seletion atm.
opens a new world of context bugs :)
Diffstat (limited to 'source/blender/makesdna/DNA_windowmanager_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_windowmanager_types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_windowmanager_types.h b/source/blender/makesdna/DNA_windowmanager_types.h index 126b6c47b63..9d36882058e 100644 --- a/source/blender/makesdna/DNA_windowmanager_types.h +++ b/source/blender/makesdna/DNA_windowmanager_types.h @@ -77,7 +77,8 @@ enum ReportListFlags { }; typedef struct Report { struct Report *next, *prev; - int type; /* ReportType */ + short type; /* ReportType */ + short flag; int len; /* strlen(message), saves some time calculating the word wrap */ char *typestr; char *message; |