Modeling: Set shape key default value to 1.0
When adding a shape key, set its blend value to 1.0 / 100%. There is no practical use case where user wants to add shape key but not work on it. New shape keys at value 0 have no purpose. Adding shape key should be interpreted by Blender as user wanting to sculpt/model on it. Also, being at 1.0 initially doesn't change anything visually, because key isn't edited yet and it doesn't deform mesh. The default value of the shape key is also set to 1.0. When using right-click to reset values, user most often wants to return to 1 (which is "correct" state of deformation without multiplication) rather than 0 (which is no deformation at all). Co-authored-by: Sybren A. Stüvel <sybren@blender.org> Pull Request: https://projects.blender.org/blender/blender/pulls/133399
This commit is contained in:
committed by
Sybren A. Stüvel
parent
8678766c5a
commit
7158e02aed
@@ -422,8 +422,9 @@ def ctx_editmode_mesh():
|
||||
|
||||
def ctx_editmode_mesh_extra():
|
||||
bpy.ops.object.vertex_group_add()
|
||||
bpy.ops.object.shape_key_add(from_mix=False)
|
||||
bpy.ops.object.shape_key_add(from_mix=True)
|
||||
bpy.ops.object.shape_key_add(from_mix=False) # Basis Key
|
||||
shape_key = bpy.ops.object.shape_key_add(from_mix=True)
|
||||
shape_key.value = 0.0
|
||||
bpy.ops.mesh.uv_texture_add()
|
||||
bpy.ops.mesh.vertex_color_add()
|
||||
bpy.ops.object.material_slot_add()
|
||||
|
||||
Reference in New Issue
Block a user