c64e13ecae143f8c76c8d5ee568aedd858ecbdcd
Replace a `StringRef` with `std::string`, so that a copy is made of the grid item identifier. This identifier is used on redraw, to correlate the newly-drawn items with items from the previous redraw. Using a `StringRef` here was problematic when there's local assets, as those can be freed & re-built (which in the case of the report happens on save/undo). Because of this, the reference got corrupted, and the map lookup would fail. The "old items" map now has a copy of the identifier, ensuring it is independent of the data it represents. Co-authored by Julian Eisel. Pull Request: https://projects.blender.org/blender/blender/pulls/141888
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline—modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
