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-05-20 00:44:46 +0400
committerAntony Riakiotakis <kalast@gmail.com>2014-05-20 00:44:46 +0400
commit038965c7917ffb741b3fc01a0481dbcf234c46ff (patch)
tree5213768bcb8cf4cacfefba804bce54bdbfecc9e0 /source/blender/blenkernel/BKE_paint.h
parent2a13ccece9cc46a806169766accd2b0cead83fcb (diff)
Do delayed cleanup of palette colors because they are still used still
by the interface after deleting. Now just tagging for delete on next UI refresh.
Diffstat (limited to 'source/blender/blenkernel/BKE_paint.h')
-rw-r--r--source/blender/blenkernel/BKE_paint.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_paint.h b/source/blender/blenkernel/BKE_paint.h
index c7211e38994..a495205feea 100644
--- a/source/blender/blenkernel/BKE_paint.h
+++ b/source/blender/blenkernel/BKE_paint.h
@@ -103,6 +103,7 @@ struct PaletteColor *BKE_palette_color_add(struct Palette *palette);
struct PaletteColor *BKE_palette_color_get_last(struct Palette *palette);
bool BKE_palette_is_empty(const struct Palette *palette);
void BKE_palette_remove_color (struct Palette *palette, struct PaletteColor *colour);
+void BKE_palette_cleanup (struct Palette *palette);
/* paint curves */
struct PaintCurve *BKE_paint_curve_add(struct Main *bmain, const char *name);