diff options
Diffstat (limited to 'source/blender/simulation/intern/particle_allocator.cc')
-rw-r--r-- | source/blender/simulation/intern/particle_allocator.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/simulation/intern/particle_allocator.cc b/source/blender/simulation/intern/particle_allocator.cc index eb1e998e63a..5ff5909f506 100644 --- a/source/blender/simulation/intern/particle_allocator.cc +++ b/source/blender/simulation/intern/particle_allocator.cc @@ -68,7 +68,7 @@ fn::MutableAttributesRef ParticleAllocator::allocate(int size) } } else { - type.fill_uninitialized(info.default_of(i), attributes.get(i).buffer(), size); + type.fill_uninitialized(info.default_of(i), attributes.get(i).data(), size); } } return attributes; |