diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-08-19 06:17:37 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-08-19 06:18:51 +0300 |
commit | 4734de1093a1a60621ec6b10e2e56cd09aa3fc64 (patch) | |
tree | 7f0b2d1f4110320afa5abab2c32830db27164c36 /source/blender/nodes/geometry | |
parent | 594790d8a56777c4436b4da2165113d59d57283a (diff) |
Cleanup: correction to unused warning removal
This broke building without opensubdiv
Diffstat (limited to 'source/blender/nodes/geometry')
-rw-r--r-- | source/blender/nodes/geometry/nodes/node_geo_subdivision_surface.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_subdivision_surface.cc b/source/blender/nodes/geometry/nodes/node_geo_subdivision_surface.cc index 49664323e89..e524564edab 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_subdivision_surface.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_subdivision_surface.cc @@ -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); |