Go to file
Christoph Lendenfeld 79b2e8f211 Animation: Allow setting the slider unit and mode
Split off from [#106952: Animation: Butterworth Smoothing filter](https://projects.blender.org/blender/blender/pulls/106952)

This patch allows the slider to take a different string than just "%",
the use case is on #106952 where we want to display "Hz" instead.

Additionally the slider got the ability to set modes, which determine
how the factor number is displayed.
`SLIDER_MODE_PERCENT` means it will multiply by 100 and display as whole numbers
`SLIDER_MODE_FLOAT` means it will display just floats with one digit after the comma

Additionally to that, because the slider range is now arbitrary and potentially deals with
large numbers, the mouse distance needed to travel from min to max has been normalized
to the range.

Pull Request: https://projects.blender.org/blender/blender/pulls/109768
2023-07-07 15:08:40 +02:00
.gitea Gitea: update bug report template for security policy 2023-04-11 12:14:01 +02:00
.github Docs: change Git URLs to point projects.blender.org instead of git.blender.org 2023-02-07 14:23:05 +01:00
build_files Cleanup: remove_cc_flag use in CMake 2023-07-05 13:27:21 +10:00
doc Cleanup: use set.discard instead of a __contains__ check before remove() 2023-07-02 19:54:27 +10:00
extern Cleanup: disable -Weverything for clang under extern/ 2023-07-05 13:20:53 +10:00
intern Cleanup: declare const variables 2023-07-07 16:00:50 +10:00
locale I18n: Updated translations from SVN trunk (r6617). 2023-07-04 18:25:00 +02:00
release Fix mistake in PyPI release instructions, improve console output 2023-07-03 17:00:34 +02:00
scripts Anim: remove trailing period from description 2023-07-06 11:12:24 +02:00
source Animation: Allow setting the slider unit and mode 2023-07-07 15:08:40 +02:00
tests Fix incorrect EXPECT_M4_NEAR 2023-07-03 19:18:28 +02:00
tools Cleanup: code-comments 2023-07-07 15:11:19 +10:00
.clang-format clang-format: set BraceWrapping::AfterControlStatement to "MultiLine" 2023-05-02 09:37:08 +10:00
.clang-tidy Clang-tidy: Ignore variable name length and .c/.cc include warnings 2022-05-06 15:26:54 +02:00
.editorconfig pyproject: add configuration for autopep8 2022-04-22 10:13:39 +10:00
.git-blame-ignore-revs Cleanup: add commit to .git-blame-ignore-revs 2023-05-03 20:31:11 +10:00
.gitignore Ignore build files for VS and VS Code 2023-03-07 17:38:34 +01:00
CMakeLists.txt CMake: Enable unused-parameter warning for Clang C++ 2023-07-05 09:25:51 +02:00
COPYING
GNUmakefile License headers: use SPDX-FileCopyrightText in all sources 2023-06-15 13:35:34 +10:00
make.bat make.bat: adjust for recent submodule changes 2023-03-16 17:51:12 -06:00
pyproject.toml pyproject: remove tools/pyproject.toml 2023-03-01 22:18:28 +11:00
README.md Update references to the new projects platform and main branch 2023-02-07 14:18:19 +01:00

Blender

Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.

Blender screenshot

Project Pages

Development

License

Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.

See blender.org/about/license for details.