Cleanup: correction to unused warning removal
This broke building without opensubdiv
This commit is contained in:
parent
594790d8a5
commit
4734de1093
|
@ -37,9 +37,10 @@ static bNodeSocketTemplate geo_node_subdivision_surface_out[] = {
|
|||
|
||||
static void geo_node_subdivision_surface_layout(uiLayout *layout,
|
||||
bContext *UNUSED(C),
|
||||
PointerRNA *UNUSED(ptr))
|
||||
PointerRNA *ptr)
|
||||
{
|
||||
#ifndef WITH_OPENSUBDIV
|
||||
UNUSED_VARS(ptr);
|
||||
uiItemL(layout, IFACE_("Disabled, built without OpenSubdiv"), ICON_ERROR);
|
||||
#else
|
||||
uiLayoutSetPropSep(layout, true);
|
||||
|
|
Loading…
Reference in New Issue