forked from bartvdbraak/blender
incorrect rna type for the BGE ui.
This commit is contained in:
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;
|
||||
|
Loading…
Reference in New Issue
Block a user