2.5 3D_View:
authorThomas Dinges <blender@dingto.org>
Sat, 15 Aug 2009 19:40:09 +0000 (19:40 +0000)
committerThomas Dinges <blender@dingto.org>
Sat, 15 Aug 2009 19:40:09 +0000 (19:40 +0000)
commit0ce5163cc0aa32df5450752da9056059a88f1fd5
treea5aa62f012dba91b3d78935f608a06c1b69b4ef6
parentca906df5ccdd0d1b0a600f073b5bad5251d42e07
2.5 3D_View:
Patch [#19031] (2.5) python menus for the view3d header
by Lorenzo Pierfederici (lento). Thanks!

* Added CTX_data_mode_string() to find out in which mode we're in.
* Added some "select" menus as a test.

This patch makes it basically possible to wrap the 3D View menus to python.
release/ui/space_view3d.py
release/ui/space_view3d_toolbar.py
source/blender/blenkernel/BKE_context.h
source/blender/blenkernel/intern/context.c
source/blender/editors/include/UI_interface.h
source/blender/editors/space_view3d/space_view3d.c
source/blender/editors/space_view3d/view3d_header.c
source/blender/editors/space_view3d/view3d_intern.h
source/blender/editors/space_view3d/view3d_toolbar.c
source/blender/makesrna/intern/rna_context.c
source/blender/makesrna/intern/rna_ui_api.c