Changeset View
Changeset View
Standalone View
Standalone View
source/blender/modifiers/intern/MOD_boolean.c
| Show First 20 Lines • Show All 358 Lines • ▼ Show 20 Lines | |||||
| static void panel_draw(const bContext *C, Panel *panel) | static void panel_draw(const bContext *C, Panel *panel) | ||||
| { | { | ||||
| uiLayout *layout = panel->layout; | uiLayout *layout = panel->layout; | ||||
| PointerRNA ptr; | PointerRNA ptr; | ||||
| modifier_panel_get_property_pointers(C, panel, NULL, &ptr); | modifier_panel_get_property_pointers(C, panel, NULL, &ptr); | ||||
| uiItemR(layout, &ptr, "operation", UI_ITEM_R_EXPAND, NULL, ICON_NONE); | |||||
| uiLayoutSetPropSep(layout, true); | uiLayoutSetPropSep(layout, true); | ||||
| uiItemR(layout, &ptr, "operation", 0, NULL, ICON_NONE); | |||||
| uiItemR(layout, &ptr, "object", 0, NULL, ICON_NONE); | uiItemR(layout, &ptr, "object", 0, NULL, ICON_NONE); | ||||
| uiItemR(layout, &ptr, "double_threshold", 0, NULL, ICON_NONE); | uiItemR(layout, &ptr, "double_threshold", 0, NULL, ICON_NONE); | ||||
| if (G.debug) { | if (G.debug) { | ||||
| uiLayout *col = uiLayoutColumn(layout, true); | uiLayout *col = uiLayoutColumn(layout, true); | ||||
| uiItemR(col, &ptr, "debug_options", 0, NULL, ICON_NONE); | uiItemR(col, &ptr, "debug_options", 0, NULL, ICON_NONE); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 41 Lines • Show Last 20 Lines | |||||