Changeset View
Changeset View
Standalone View
Standalone View
source/blender/modifiers/intern/MOD_remesh.c
| Show First 20 Lines • Show All 267 Lines • ▼ Show 20 Lines | else { | ||||
| uiLayoutSetActive(row, RNA_boolean_get(ptr, "use_remove_disconnected")); | uiLayoutSetActive(row, RNA_boolean_get(ptr, "use_remove_disconnected")); | ||||
| uiItemR(layout, ptr, "threshold", 0, NULL, ICON_NONE); | uiItemR(layout, ptr, "threshold", 0, NULL, ICON_NONE); | ||||
| } | } | ||||
| uiItemR(layout, ptr, "use_smooth_shade", 0, NULL, ICON_NONE); | uiItemR(layout, ptr, "use_smooth_shade", 0, NULL, ICON_NONE); | ||||
| modifier_panel_end(layout, ptr); | modifier_panel_end(layout, ptr); | ||||
| #else /* WITH_MOD_REMESH */ | #else /* WITH_MOD_REMESH */ | ||||
| uiItemL(layout, IFACE_("Built without Remesh modifier"), ICON_NONE); | uiItemL(layout, TIP_("Built without Remesh modifier"), ICON_NONE); | ||||
| #endif /* WITH_MOD_REMESH */ | #endif /* WITH_MOD_REMESH */ | ||||
| } | } | ||||
| static void panelRegister(ARegionType *region_type) | static void panelRegister(ARegionType *region_type) | ||||
| { | { | ||||
| modifier_panel_register(region_type, eModifierType_Remesh, panel_draw); | modifier_panel_register(region_type, eModifierType_Remesh, panel_draw); | ||||
| } | } | ||||
| Show All 34 Lines | |||||