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>2022-10-20 19:01:44 +0300
committerJacques Lucke <jacques@blender.org>2022-10-20 19:02:14 +0300
commit5e0e5b13410350166553256272311774acd5aaa4 (patch)
tree078e03402d1649c4963fef9f527bc196d3bdc96e
parent24fd8f729a58b18159912a84525b910b0d4e7ef5 (diff)
Fix T101215: Distribute Points in Volume node does not refresh on frame change
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_distribute_points_in_volume.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_distribute_points_in_volume.cc b/source/blender/nodes/geometry/nodes/node_geo_distribute_points_in_volume.cc
index 091337c28cf..3a021bfe2d7 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_distribute_points_in_volume.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_distribute_points_in_volume.cc
@@ -208,6 +208,7 @@ static void geo_node_distribute_points_in_volume_exec(GeoNodeExecParams params)
}
const VolumeComponent *component = geometry_set.get_component_for_read<VolumeComponent>();
const Volume *volume = component->get_for_read();
+ BKE_volume_load(volume, DEG_get_bmain(params.depsgraph()));
Vector<float3> positions;