Commit: 0d21b9e2da33670cb9bb1e1a409637a3e74fa48e
Author: Jacques Lucke
Date: Fri Dec 9 15:57:58 2022 +0100
Branches: master
https://developer.blender.org/rB0d21b9e2da33670cb9bb1e1a409637a3e74fa48e
Cleanup: fix compile error on macos
===================================================================
M source/blender/nodes/geometry/nodes/node_geo_points_to_volume.cc
===================================================================
diff --git a/source/blender/nodes/geometry/nodes/node_geo_points_to_volume.cc
b/source/blender/nodes/geometry/nodes/node_geo_points_to_volume.cc
index 8e5e84fd94a..fad71adae3d 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_points_to_volume.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_points_to_volume.cc
@@ -215,7 +215,7 @@ static void
initialize_volume_component_from_points(GeoNodeExecParams ¶ms,
const float max_radius = *std::max_element(radii.begin(), radii.end());
const float voxel_size = compute_voxel_size(params, positions, max_radius);
- const double determinant = std::pow<double>(voxel_size, 3.0);
+ const double determinant = std::pow(double(voxel_size), 3.0);
if (!BKE_volume_grid_determinant_valid(determinant)) {
return;
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs