From bc870f17a7fbcf52e86306932c97058ca8bb6f21 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 4 Nov 2018 10:08:55 +1100 Subject: Cleanup: style, shadow warning --- source/blender/blenloader/intern/versioning_280.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/blenloader') 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; } -- cgit v1.2.3