incorrect rna type for the BGE ui.

This commit is contained in:
Campbell Barton 2011-03-25 14:32:47 +00:00
parent 77a1a2f14e
commit 62beafdd19

@ -3303,7 +3303,7 @@ static void draw_sensor_collision(uiLayout *layout, PointerRNA *ptr, bContext *C
uiItemR(row, ptr, "use_pulse", UI_ITEM_R_TOGGLE, NULL, ICON_NONE);
uiItemR(row, ptr, "use_material", UI_ITEM_R_TOGGLE, NULL, ICON_NONE);
switch (RNA_enum_get(ptr, "use_material")) {
switch (RNA_boolean_get(ptr, "use_material")) {
case SENS_COLLISION_PROPERTY:
uiItemR(split, ptr, "property", 0, NULL, ICON_NONE);
break;