Slightly improve undo performance in dyntopo when last operator was mask
authorAntony Riakiotakis <kalast@gmail.com>
Fri, 20 Dec 2013 11:41:38 +0000 (13:41 +0200)
committerAntony Riakiotakis <kalast@gmail.com>
Fri, 20 Dec 2013 11:42:03 +0000 (13:42 +0200)
commit26aeb81d003278e30fc36255ba90ca81c3a655e6
tree818e3f286636b4c3416ac714d86c0e65459c65e9
parent59fd22e1d877f5e25f92b4f50e6f273c044df91e
Slightly improve undo performance in dyntopo when last operator was mask
modification. In that case no pbvh needs to be freed and recreated and
we can get away just with draw buffer update (all of them for now. When
pbvh nodes get logged for undo we will be able to only update the
affected ones).
source/blender/editors/sculpt_paint/sculpt_undo.c