diff options
author | Jacques Lucke <jacques@blender.org> | 2020-05-04 13:29:39 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-05-04 13:29:39 +0300 |
commit | dc1c562f632e1370702e85df0711929f3f77d7ea (patch) | |
tree | c99ea932ed0c7ac04ecce774377803e7a5dc2fac /intern/cycles/blender/blender_sync.cpp | |
parent | 10fad7c88db642277be784ba77941faa7abc5d9a (diff) | |
parent | 9adb81f58494731438f3afdcbacb1599a4a32bb9 (diff) |
Merge branch 'master' into simulation-access-modifier
Diffstat (limited to 'intern/cycles/blender/blender_sync.cpp')
-rw-r--r-- | intern/cycles/blender/blender_sync.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/blender/blender_sync.cpp b/intern/cycles/blender/blender_sync.cpp index f4c100bcd2b..0c120b944a7 100644 --- a/intern/cycles/blender/blender_sync.cpp +++ b/intern/cycles/blender/blender_sync.cpp @@ -108,7 +108,7 @@ void BlenderSync::sync_recalc(BL::Depsgraph &b_depsgraph, BL::SpaceView3D &b_v3d } if (dicing_prop_changed) { - for (const pair<GeometryKey, Geometry *> &iter : geometry_map.key_to_scene_data()) { + for (const pair<const GeometryKey, Geometry *> &iter : geometry_map.key_to_scene_data()) { Geometry *geom = iter.second; if (geom->type == Geometry::MESH) { Mesh *mesh = static_cast<Mesh *>(geom); |