[Bf-blender-cvs] [146f6cea55a] blender2.8: GP: Set Vertex opacity default for templates
Antonioya
noreply at git.blender.org
Wed Nov 21 19:19:16 CET 2018
Commit: 146f6cea55a2d4c58bc6c28b9468b39fd2347c40
Author: Antonioya
Date: Wed Nov 21 19:18:41 2018 +0100
Branches: blender2.8
https://developer.blender.org/rB146f6cea55a2d4c58bc6c28b9468b39fd2347c40
GP: Set Vertex opacity default for templates
===================================================================
M source/blender/blenloader/intern/versioning_defaults.c
===================================================================
diff --git a/source/blender/blenloader/intern/versioning_defaults.c b/source/blender/blenloader/intern/versioning_defaults.c
index ec5c8e70d12..d6c1a5a6b98 100644
--- a/source/blender/blenloader/intern/versioning_defaults.c
+++ b/source/blender/blenloader/intern/versioning_defaults.c
@@ -109,6 +109,9 @@ void BLO_update_defaults_startup_blend(Main *bmain, const char *app_template)
{
View3D *v3d = (View3D *)sl;
v3d->overlay.weight_paint_mode_opacity = 1.0f;
+ /* grease pencil settings */
+ v3d->vertex_opacity = 1.0f;
+ v3d->gp_flag |= V3D_GP_SHOW_EDIT_LINES;
}
}
}
More information about the Bf-blender-cvs
mailing list