Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2021-10-14 19:02:09 +0300
committerJacques Lucke <jacques@blender.org>2021-10-14 19:02:22 +0300
commit5e8775a8da93292a6d8ef0eed3b89dea40c94399 (patch)
treed46a2e8aa88f45daf8b029028ac73fe86a3cfa75
parenta0f269f682dab848afc80cd322d04a0c4a815cae (diff)
Fix T92030: crash when hovering over socket
This is the same fix as in rB24a965bb16c22e33752dfb6c22105b96a8649aeb.
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_proximity.cc1
1 files changed, 1 insertions, 0 deletions
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}));