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:
authorAntonio Vazquez <blendergit@gmail.com>2020-05-15 17:51:36 +0300
committerAntonio Vazquez <blendergit@gmail.com>2020-05-15 17:51:36 +0300
commit363f18c8b58dd2ba637aed171e75a346e86e7753 (patch)
tree8d5cc107ac557b89c7cb78bb1b4becf50c3bfc66 /source/blender/blenloader/intern/versioning_280.c
parentd6e0b55b1c695473313f6c2a97547c0fc14dda15 (diff)
parent1cad0a627e882cf0c5a98d1b482327e59f65a87a (diff)
Merge branch 'blender-v2.83-release'
Diffstat (limited to 'source/blender/blenloader/intern/versioning_280.c')
-rw-r--r--source/blender/blenloader/intern/versioning_280.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/versioning_280.c b/source/blender/blenloader/intern/versioning_280.c
index 07551f3ea2b..e32a40e1ad5 100644
--- a/source/blender/blenloader/intern/versioning_280.c
+++ b/source/blender/blenloader/intern/versioning_280.c
@@ -5192,6 +5192,15 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *bmain)
}
}
}
+
+ /* Set Brush default color for grease pencil. */
+ LISTBASE_FOREACH (Brush *, brush, &bmain->brushes) {
+ if (brush->gpencil_settings) {
+ brush->rgb[0] = 0.498f;
+ brush->rgb[1] = 1.0f;
+ brush->rgb[2] = 0.498f;
+ }
+ }
}
/**