Blender Git Loki

Git Commits -> Revision 5c604e5

Revision 5c604e5 by Campbell Barton (master)
August 24, 2010, 03:02 (GMT)
remove recently added rna function uilayout.prop_search_self() and instead allow collections to be coerced into rna structs when they define a type.
eg:
row.prop_search_self(scene, "active", "keying_sets", text="")
...becomes
row.prop_search(scene.keying_sets, "active", scene, "keying_sets", text="")

This is more flexible since it works for other UI functions too.

Commit Details:

Full Hash: 5c604e5524ace49caeda7c0bff9443afc43b236f
SVN Revision: 31543
Parent Commit: 48e34b9
Lines Changed: +26, -76

8 Modified Paths:

/release/scripts/ui/space_image.py (+1, -1) (Diff)
/release/scripts/ui/space_outliner.py (+1, -1) (Diff)
/release/scripts/ui/space_time.py (+1, -1) (Diff)
/release/scripts/ui/space_userpref_keymap.py (+1, -1) (Diff)
/source/blender/editors/include/UI_interface.h (+0, -1) (Diff)
/source/blender/editors/interface/interface_layout.c (+0, -60) (Diff)
/source/blender/makesrna/intern/rna_ui_api.c (+0, -6) (Diff)
/source/blender/python/intern/bpy_rna.c (+22, -5) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021