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 13:16:31 +0400
committerAntony Riakiotakis <kalast@gmail.com>2014-09-18 13:16:31 +0400
commite6271d236752b8551d8d401ff6aff8e92efde18e (patch)
tree82e76b140c3d8c123ce469c0c2277fdea3c4e881 /source/blender/makesdna/DNA_brush_types.h
parent90f75b8ce034068f0f8192e32d4b9a6d9261393f (diff)
Palettes:
Avoid having an invalid active index if user deletes a color. Also attempt to set active color on clicking (Not working yet but fix coming soon)
Diffstat (limited to 'source/blender/makesdna/DNA_brush_types.h')
-rw-r--r--source/blender/makesdna/DNA_brush_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_brush_types.h b/source/blender/makesdna/DNA_brush_types.h
index 9fbd70419f4..b14861fcf47 100644
--- a/source/blender/makesdna/DNA_brush_types.h
+++ b/source/blender/makesdna/DNA_brush_types.h
@@ -153,8 +153,8 @@ typedef struct Palette
ListBase colors;
ListBase deleted;
- int num_of_colours;
int active_color;
+ int pad;
} Palette;
typedef struct PaintCurvePoint