Undo System: id-map avoid duplicate add/lookup
authorCampbell Barton <ideasman42@gmail.com>
Tue, 3 Apr 2018 14:46:11 +0000 (16:46 +0200)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 3 Apr 2018 15:03:33 +0000 (17:03 +0200)
commit75de21f0722c3a7d674c208cf6af95044637828f
treee7c01d6cc415def033f80bc586afc1536fb2a6cc
parent53f068454e8c774ef68997f3b8afb5da9417b03c
Undo System: id-map avoid duplicate add/lookup

Add versions of add/lookup that check the previous item.
source/blender/blenkernel/BKE_undo_system.h
source/blender/blenkernel/intern/undo_system.c