Changeset View
Changeset View
Standalone View
Standalone View
source/blender/modifiers/intern/MOD_ocean.c
| Show First 20 Lines • Show All 546 Lines • ▼ Show 20 Lines | #ifdef WITH_OCEANSIM | ||||
| uiItemR(col, ptr, "random_seed", 0, NULL, ICON_NONE); | uiItemR(col, ptr, "random_seed", 0, NULL, ICON_NONE); | ||||
| uiItemR(col, ptr, "use_normals", 0, NULL, ICON_NONE); | uiItemR(col, ptr, "use_normals", 0, NULL, ICON_NONE); | ||||
| modifier_panel_end(layout, ptr); | modifier_panel_end(layout, ptr); | ||||
| #else /* WITH_OCEANSIM */ | #else /* WITH_OCEANSIM */ | ||||
| uiItemL(layout, IFACE_("Built without Ocean modifier"), ICON_NONE); | uiItemL(layout, TIP_("Built without Ocean modifier"), ICON_NONE); | ||||
| #endif /* WITH_OCEANSIM */ | #endif /* WITH_OCEANSIM */ | ||||
| } | } | ||||
| #ifdef WITH_OCEANSIM | #ifdef WITH_OCEANSIM | ||||
| static void waves_panel_draw(const bContext *UNUSED(C), Panel *panel) | static void waves_panel_draw(const bContext *UNUSED(C), Panel *panel) | ||||
| { | { | ||||
| uiLayout *col, *sub; | uiLayout *col, *sub; | ||||
| uiLayout *layout = panel->layout; | uiLayout *layout = panel->layout; | ||||
| ▲ Show 20 Lines • Show All 197 Lines • Show Last 20 Lines | |||||