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:
authorCampbell Barton <ideasman42@gmail.com>2018-11-04 02:08:55 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-11-04 02:10:00 +0300
commitbc870f17a7fbcf52e86306932c97058ca8bb6f21 (patch)
tree4176ccf09924d000640ef415417f138a724bf24f /source/blender/blenloader
parent771b9c8010d47e79a1f3cde9e25ecd5f275c3fa4 (diff)
Cleanup: style, shadow warning
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/versioning_280.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/versioning_280.c b/source/blender/blenloader/intern/versioning_280.c
index 56e91729d0e..7243cb5b522 100644
--- a/source/blender/blenloader/intern/versioning_280.c
+++ b/source/blender/blenloader/intern/versioning_280.c
@@ -2244,7 +2244,8 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *bmain)
for (Material *mat = bmain->mat.first; mat; mat = mat->id.next) {
if (mat->gp_style) {
if (((mat->gp_style->flag & GP_STYLE_STROKE_SHOW) == 0) &&
- ((mat->gp_style->flag & GP_STYLE_FILL_SHOW) == 0)) {
+ ((mat->gp_style->flag & GP_STYLE_FILL_SHOW) == 0))
+ {
mat->gp_style->flag |= GP_STYLE_STROKE_SHOW;
mat->gp_style->flag |= GP_STYLE_FILL_SHOW;
}