Merge branch 'blender-v5.0-release'

This commit is contained in:
Hans Goudey
2025-10-09 13:12:40 -04:00
2 changed files with 8 additions and 0 deletions

View File

@@ -50,6 +50,10 @@ static void node_geo_exec(GeoNodeExecParams params)
params.extract_input<float>("Voxel Size"),
params.extract_input<float>("Gradient Width"),
params.extract_input<float>("Density"));
if (!grid) {
params.set_default_remaining_outputs();
return;
}
params.set_output("Density Grid", std::move(grid));
#else
node_geo_exec_with_missing_openvdb(params);

View File

@@ -45,6 +45,10 @@ static void node_geo_exec(GeoNodeExecParams params)
mesh->corner_tris(),
params.extract_input<float>("Voxel Size"),
std::max(1, params.extract_input<int>("Band Width")));
if (!grid) {
params.set_default_remaining_outputs();
return;
}
params.set_output("SDF Grid", std::move(grid));
#else
node_geo_exec_with_missing_openvdb(params);