Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2014-09-18 14:07:17 +0400
committerAntony Riakiotakis <kalast@gmail.com>2014-09-18 14:07:17 +0400
commitb247e19ff10c74c756ec94b3d4f910383190f172 (patch)
tree703c16f7c890aae6a67543bf412c51a386e79eb5 /source/blender/blenloader/intern
parente6271d236752b8551d8d401ff6aff8e92efde18e (diff)
Palettes
* Remove some duplication in deletion code * Fix crash when restoring file from last saved state.
Diffstat (limited to 'source/blender/blenloader/intern')
-rw-r--r--source/blender/blenloader/intern/readfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 8561903ce04..4739718fa54 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -1862,6 +1862,7 @@ static void direct_link_palette(FileData *fd, Palette *palette)
{
/* palette itself has been read */
link_list(fd, &palette->colors);
+ BLI_listbase_clear(&palette->deleted);
}
static void lib_link_paint_curve(FileData *UNUSED(fd), Main *main)