Files
test/tests/utils
Nika Kutsniashvili 7158e02aed 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
2025-08-01 15:43:31 +02:00
..

Test Utilities
==============

These tests are not intended to run as part of automated unit testing,
rather they can be used to expose issues though stress testing or other less predictable
actions that aren't practical to include in unit tests.

Examples include:

- Loading many blend files from a directory, which can expose issues in file reading.
- Running operators in various contexts which can expose crashes.
- Simulating user input for so ``git bisect`` can be performed on bugs that require user interaction.
- Fuzz testing file importers & file format support.

Note that we could make reduced versions of these tests into unit tests at some point.