operator macro playback (run operator reports in the console)
authorCampbell Barton <ideasman42@gmail.com>
Sun, 19 Jul 2009 00:49:44 +0000 (00:49 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 19 Jul 2009 00:49:44 +0000 (00:49 +0000)
commitd7564761c03c560efd33591d47559f889d07bff1
treec0a3deb5ddf55bc637e53c1a038f46d74281eabf
parentad2e306b09bc1b53446f248d24621476c1eb9093
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 :)
15 files changed:
release/ui/space_console.py
source/blender/blenkernel/intern/multires.c
source/blender/blenkernel/intern/object.c
source/blender/editors/include/ED_object.h
source/blender/editors/object/object_edit.c
source/blender/editors/screen/screen_context.c
source/blender/editors/space_console/console_draw.c
source/blender/editors/space_console/console_intern.h
source/blender/editors/space_console/console_ops.c
source/blender/editors/space_console/console_report.c [new file with mode: 0644]
source/blender/editors/space_console/space_console.c
source/blender/editors/space_view3d/space_view3d.c
source/blender/makesdna/DNA_scene_types.h
source/blender/makesdna/DNA_windowmanager_types.h
source/blender/makesrna/intern/rna_access.c