[Bf-blender-cvs] [6fc92b296fa] master: GPencil: Change default Scale Thickness to True in 2D template

Antonio Vazquez noreply at git.blender.org
Thu Sep 2 16:26:37 CEST 2021


Commit: 6fc92b296fae474c5b9bb2ea996f51cef75bd9c6
Author: Antonio Vazquez
Date:   Thu Sep 2 16:23:13 2021 +0200
Branches: master
https://developer.blender.org/rB6fc92b296fae474c5b9bb2ea996f51cef75bd9c6

GPencil: Change default Scale Thickness to True in 2D template

This parameter is more logic as true because is better scale thickness when the size of the stroke changes.

Reviewed by: @mendio @pepeland

===================================================================

M	release/scripts/startup/bl_app_templates_system/2D_Animation/__init__.py

===================================================================

diff --git a/release/scripts/startup/bl_app_templates_system/2D_Animation/__init__.py b/release/scripts/startup/bl_app_templates_system/2D_Animation/__init__.py
index be47890a002..c8328f5ee42 100644
--- a/release/scripts/startup/bl_app_templates_system/2D_Animation/__init__.py
+++ b/release/scripts/startup/bl_app_templates_system/2D_Animation/__init__.py
@@ -46,6 +46,7 @@ def update_factory_startup_screens():
 def update_factory_startup_scenes():
     for scene in bpy.data.scenes:
         scene.tool_settings.use_keyframe_insert_auto = True
+        scene.tool_settings.gpencil_sculpt.use_scale_thickness = True
 
 
 def update_factory_startup_grease_pencils():



More information about the Bf-blender-cvs mailing list