mirror of
https://github.com/blender/blender
synced 2026-11-01 03:16:58 +03:00
The idea is assign a unique changeset ID per ImBuf. That is also renewed whenever on full buffer updates on an ImBuf, for example on resize. Undo steps copy the changeset ID on push, and can then only be restored on ImBufs with a matching changeset ID. The changeset ID is also copied from the undo step back to the ImBuf on full update, so that subsequent partial updates apply. This mechanism is used so that alternating memfile and image undo steps both work correctly, and don't need a full image copy whenever a memfile undo step is added between image undo steps. This is important for memory usage when painting high resolution images while editing materials or other scene data. Pull Request: https://projects.blender.org/blender/blender/pulls/164048 |
||
|---|---|---|
| .. | ||
| modules | ||
| automask_test.py | ||
| brush_asset_test.py | ||
| brush_strength_curves_test.py | ||
| dyntopo_test.py | ||
| face_set_test.py | ||
| grease_pencil_paint_tests.py | ||
| mask_test.py | ||
| mesh_filter_test.py | ||
| multires_operators_test.py | ||
| sculpt_brushes_test.py | ||
| texture_paint_brushes_test.py | ||
| texture_paint_undo_test.py | ||
| vertex_paint_brushes_test.py | ||
| voxel_remesh_compare_test.py | ||
| voxel_remesh_test.py | ||
| weight_paint_brushes_test.py | ||