Fix: Geometry Nodes: Compiler warning on some systems

I can't replicate the warning locally - but some developers have
been getting compiler warnings. Comments out the error which
should fix compiler warnings.

Pull Request: https://projects.blender.org/blender/blender/pulls/148049
This commit is contained in:
Brady Johnston
2025-10-14 16:52:13 +02:00
committed by Hans Goudey
parent f4dd22b7d9
commit fbabb474cd
6 changed files with 6 additions and 6 deletions

View File

@@ -48,7 +48,7 @@ static void node_geo_exec(GeoNodeExecParams params)
filter.fillet();
}
}
catch (const openvdb::RuntimeError &e) {
catch (const openvdb::RuntimeError & /*e*/) {
node_geo_sdf_grid_error_not_levelset(params);
return;
}

View File

@@ -48,7 +48,7 @@ static void node_geo_exec(GeoNodeExecParams params)
filter.laplacian();
}
}
catch (const openvdb::RuntimeError &e) {
catch (const openvdb::RuntimeError & /*e*/) {
node_geo_sdf_grid_error_not_levelset(params);
return;
}

View File

@@ -51,7 +51,7 @@ static void node_geo_exec(GeoNodeExecParams params)
filter.mean(width);
}
}
catch (const openvdb::RuntimeError &e) {
catch (const openvdb::RuntimeError & /*e*/) {
node_geo_sdf_grid_error_not_levelset(params);
return;
}

View File

@@ -48,7 +48,7 @@ static void node_geo_exec(GeoNodeExecParams params)
filter.meanCurvature();
}
}
catch (const openvdb::RuntimeError &e) {
catch (const openvdb::RuntimeError & /*e*/) {
node_geo_sdf_grid_error_not_levelset(params);
return;
}

View File

@@ -51,7 +51,7 @@ static void node_geo_exec(GeoNodeExecParams params)
filter.median(width);
}
}
catch (const openvdb::RuntimeError &e) {
catch (const openvdb::RuntimeError & /*e*/) {
node_geo_sdf_grid_error_not_levelset(params);
return;
}

View File

@@ -42,7 +42,7 @@ static void node_geo_exec(GeoNodeExecParams params)
openvdb::tools::LevelSetFilter<openvdb::FloatGrid> filter(vdb_grid);
filter.offset(-distance);
}
catch (const openvdb::RuntimeError &e) {
catch (const openvdb::RuntimeError & /*e*/) {
node_geo_sdf_grid_error_not_levelset(params);
return;
}