diff options
author | Hans Goudey <h.goudey@me.com> | 2022-08-23 20:50:47 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-08-23 20:50:47 +0300 |
commit | e36ced1dce96f980fd844181946b3318fcc6233c (patch) | |
tree | ef7625986e1db27babad51b683fa22160fb43984 /source/blender/blenkernel/intern/customdata.cc | |
parent | 35c601269b7c6920f8646ed743130065b93786b4 (diff) |
Fix: Write hide status attributes for undo steps
We don't convert to the old mesh format when writing undo steps to
avoid overhead. So we can't skip writing the hide attributes then.
Diffstat (limited to 'source/blender/blenkernel/intern/customdata.cc')
-rw-r--r-- | source/blender/blenkernel/intern/customdata.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/customdata.cc b/source/blender/blenkernel/intern/customdata.cc index 69825031795..90bc79f6907 100644 --- a/source/blender/blenkernel/intern/customdata.cc +++ b/source/blender/blenkernel/intern/customdata.cc @@ -4355,7 +4355,7 @@ void CustomData_file_write_info(int type, const char **r_struct_name, int *r_str void CustomData_blend_write_prepare(CustomData &data, Vector<CustomDataLayer, 16> &layers_to_write, - const Set<StringRef> &skip_names) + const Set<std::string> &skip_names) { for (const CustomDataLayer &layer : Span(data.layers, data.totlayer)) { if (layer.flag & CD_FLAG_NOCOPY) { |