Commit: 5e8775a8da93292a6d8ef0eed3b89dea40c94399
Author: Jacques Lucke
Date:   Thu Oct 14 18:02:09 2021 +0200
Branches: master
https://developer.blender.org/rB5e8775a8da93292a6d8ef0eed3b89dea40c94399

Fix T92030: crash when hovering over socket

This is the same fix as in rB24a965bb16c22e33752dfb6c22105b96a8649aeb.

===================================================================

M       source/blender/nodes/geometry/nodes/node_geo_proximity.cc

===================================================================

diff --git a/source/blender/nodes/geometry/nodes/node_geo_proximity.cc 
b/source/blender/nodes/geometry/nodes/node_geo_proximity.cc
index 30d025953af..02694a4a496 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_proximity.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_proximity.cc
@@ -207,6 +207,7 @@ class ProximityFunction : public fn::MultiFunction {
 static void geo_node_proximity_exec(GeoNodeExecParams params)
 {
   GeometrySet geometry_set_target = 
params.extract_input<GeometrySet>("Target");
+  geometry_set_target.ensure_owns_direct_data();
 
   auto return_default = [&]() {
     params.set_output("Position", fn::make_constant_field<float3>({0.0f, 0.0f, 
0.0f}));

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to