Fix: normalize option not shown in noise texture node
Caused by f7e8021b2a.
This commit is contained in:
@@ -51,7 +51,7 @@ static void node_shader_buts_tex_noise(uiLayout *layout, bContext * /*C*/, Point
|
||||
{
|
||||
uiItemR(layout, ptr, "noise_dimensions", UI_ITEM_R_SPLIT_EMPTY_NAME, "", ICON_NONE);
|
||||
uiItemR(layout, ptr, "noise_type", UI_ITEM_R_SPLIT_EMPTY_NAME, "", ICON_NONE);
|
||||
if (ELEM(RNA_enum_get(ptr, "type"), SHD_NOISE_FBM)) {
|
||||
if (ELEM(RNA_enum_get(ptr, "noise_type"), SHD_NOISE_FBM)) {
|
||||
uiItemR(layout, ptr, "normalize", UI_ITEM_R_SPLIT_EMPTY_NAME, nullptr, ICON_NONE);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user