Blender Git Commit Log
Git Commits -> Revision 1b4d5c7
Revision 1b4d5c7 by Campbell Barton (master) July 13, 2021, 09:43 (GMT) |
Undo System: avoid redundant decoding on undo In most cases the undo system was loading undo steps twice. This was needed since some undo systems (sculpt, paint, text) require stepping out of the current undo step. Use a flag to limit this to the undo systems that need it. This improves performance for other undo systems. This gives around 1.96x speedup in edit-mesh for high-poly objects. Reviewed by: mont29 Ref D11893 |
Commit Details:
Full Hash: 1b4d5c7a35597a70411515f721a405416244b540
Parent Commit: f9c9e00
Lines Changed: +31, -11
5 Modified Paths:
/source/blender/blenkernel/BKE_undo_system.h (+7, -0) (Diff)
/source/blender/blenkernel/intern/undo_system.c (+21, -8) (Diff)
/source/blender/editors/sculpt_paint/sculpt_undo.c (+1, -1) (Diff)
/source/blender/editors/space_image/image_undo.c (+1, -1) (Diff)
/source/blender/editors/space_text/text_undo.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/undo_system.c (+21, -8) (Diff)
/source/blender/editors/sculpt_paint/sculpt_undo.c (+1, -1) (Diff)
/source/blender/editors/space_image/image_undo.c (+1, -1) (Diff)
/source/blender/editors/space_text/text_undo.c (+1, -1) (Diff)