Speedup for Grease Pencil animators.
authorTon Roosendaal <ton@blender.org>
Thu, 7 Mar 2013 16:57:53 +0000 (16:57 +0000)
committerTon Roosendaal <ton@blender.org>
Thu, 7 Mar 2013 16:57:53 +0000 (16:57 +0000)
commita134d9ed517ef4173c1e8c19e77d652d52fe9258
tree05874c8a126fb99e147fe0a12760d6f339fb8b92
parente93068ad780fb014e4822c5904278d21386b1c1f
Speedup for Grease Pencil animators.

Saving and loading gpencil was using different order for the individual list items.
On a 120 Mb gpencil project (yes, animators!) loading time went down from 1 minute
to a second or two.

Note that this to have effect, you need to save once.

Developer note: check this commit, it uses a new writelist function. You can
speedup stuff tremendously with keeping saved and read data in sync.
source/blender/blenloader/intern/writefile.c