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:
Diffstat (limited to 'source/blender/blenloader/intern/versioning_270.c')
-rw-r--r--source/blender/blenloader/intern/versioning_270.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/source/blender/blenloader/intern/versioning_270.c b/source/blender/blenloader/intern/versioning_270.c
index 20b2bfd95c8..4adbbac8cae 100644
--- a/source/blender/blenloader/intern/versioning_270.c
+++ b/source/blender/blenloader/intern/versioning_270.c
@@ -1168,15 +1168,19 @@ void blo_do_versions_270(FileData *fd, Library *UNUSED(lib), Main *bmain)
* for minimal disruption. */
ts->gpencil_v3d_align = 0;
- if (gpd->flag & GP_DATA_VIEWALIGN)
+ if (gpd->flag & GP_DATA_VIEWALIGN) {
ts->gpencil_v3d_align |= GP_PROJECT_VIEWSPACE;
- if (gpd->flag & GP_DATA_DEPTH_VIEW)
+ }
+ if (gpd->flag & GP_DATA_DEPTH_VIEW) {
ts->gpencil_v3d_align |= GP_PROJECT_DEPTH_VIEW;
- if (gpd->flag & GP_DATA_DEPTH_STROKE)
+ }
+ if (gpd->flag & GP_DATA_DEPTH_STROKE) {
ts->gpencil_v3d_align |= GP_PROJECT_DEPTH_STROKE;
+ }
- if (gpd->flag & GP_DATA_DEPTH_STROKE_ENDPOINTS)
+ if (gpd->flag & GP_DATA_DEPTH_STROKE_ENDPOINTS) {
ts->gpencil_v3d_align |= GP_PROJECT_DEPTH_STROKE_ENDPOINTS;
+ }
}
else {
/* Default to cursor for all standard 3D views */