diff options
author | Matt Ebb <matt@mke3.net> | 2010-05-10 08:59:44 +0400 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2010-05-10 08:59:44 +0400 |
commit | f9495c7befefe936cef4712810baa8d59b49c667 (patch) | |
tree | 42d62d278badf2e8ce683a3f0c15cbd28f4c1c8e /source/blender/editors/space_logic | |
parent | 1e0caad5da0400f02c772e25cdd8446f932276a0 (diff) |
Added search list widget for 'actuator sensor' too.
Diffstat (limited to 'source/blender/editors/space_logic')
-rw-r--r-- | source/blender/editors/space_logic/logic_window.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source/blender/editors/space_logic/logic_window.c b/source/blender/editors/space_logic/logic_window.c index de75f10c9c7..ef9c18af957 100644 --- a/source/blender/editors/space_logic/logic_window.c +++ b/source/blender/editors/space_logic/logic_window.c @@ -3208,15 +3208,11 @@ static void draw_sensor_internal_header(uiLayout *layout, PointerRNA *ptr) static void draw_sensor_actuator(uiLayout *layout, PointerRNA *ptr) { - /* -- couldnt make it work for actuators Object *ob = (Object *)ptr->id.data; PointerRNA settings_ptr; RNA_pointer_create((ID *)ob, &RNA_GameObjectSettings, ob, &settings_ptr); - uiItemPointerR(layout, ptr, "actuator", &settings_ptr, "actuators", "", 0); - */ - - uiItemR(layout, ptr, "actuator", 0, NULL, 0); + uiItemPointerR(layout, ptr, "actuator", &settings_ptr, "actuators", NULL, ICON_LOGIC); } static void draw_sensor_armature(uiLayout *layout, PointerRNA *ptr) |