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
path: root/source
diff options
context:
space:
mode:
authorLukas Toenne <lukas.toenne@googlemail.com>2013-11-07 01:08:16 +0400
committerLukas Toenne <lukas.toenne@googlemail.com>2013-11-07 01:08:16 +0400
commit232c97fdebe046f55fe30a840c51141644092e96 (patch)
tree6ab1769b95767a61c4ce794ea91785e9dc15b230 /source
parentf392ebd77ed1df0f6fe8588acc6b46a9e2719252 (diff)
Fix for error in r61159: the new gpencil_new_layer_col in UserDef is supposed to be a 4 float RGBA color, but has only 3 floats. This was overwriting tweak_threshold in UserDef and breaking transform
operators ...
Diffstat (limited to 'source')
-rw-r--r--source/blender/makesdna/DNA_userdef_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h
index ae01536eebe..37d5f313dfb 100644
--- a/source/blender/makesdna/DNA_userdef_types.h
+++ b/source/blender/makesdna/DNA_userdef_types.h
@@ -474,7 +474,7 @@ typedef struct UserDef {
struct ColorBand coba_weight; /* from texture.h */
float sculpt_paint_overlay_col[3];
- float gpencil_new_layer_col[3]; /* default color for newly created Grease Pencil layers */
+ float gpencil_new_layer_col[4]; /* default color for newly created Grease Pencil layers */
short tweak_threshold;
short pad3;