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-18 17:38:53 +0300
committerAntonio Vazquez <blendergit@gmail.com>2020-05-18 17:38:53 +0300
commit0bd7e202fbd6c96d45aadda5457ee71f48bfe958 (patch)
tree300b61ec2921b8495ef0a38b1bec09d43b2d8679 /source/blender/blenloader
parent48a5b1664a58c93719b7059bc766e97379a14db9 (diff)
Curves: Disable Curve Normals by default
This patch just disable the curve Normals by default. Reviewed By: #user_interface, billreynish, Severin Differential Revision: https://developer.blender.org/D7755
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/versioning_defaults.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/versioning_defaults.c b/source/blender/blenloader/intern/versioning_defaults.c
index 9d3b44f8447..665771cce1e 100644
--- a/source/blender/blenloader/intern/versioning_defaults.c
+++ b/source/blender/blenloader/intern/versioning_defaults.c
@@ -202,6 +202,8 @@ static void blo_update_defaults_screen(bScreen *screen,
if (v3d->shading.background_type != V3D_SHADING_BACKGROUND_VIEWPORT) {
copy_v3_fl(v3d->shading.background_color, 0.05f);
}
+ /* Disable Curve Normals. */
+ v3d->overlay.edit_flag &= ~V3D_OVERLAY_EDIT_CU_NORMALS;
}
else if (area->spacetype == SPACE_CLIP) {
SpaceClip *sclip = area->spacedata.first;