7f8d4df410
Blender already had the ability to sample the depth with an eyedropper and fill the focus distance (see `"ui.eyedropper_depth"`). But this feature was fairly hidden. You had to hover over the `focal_distance` property in the camera data panel and then press `E` (then sample a distance in the 3D viewport). This patch adds a `prop_data_path` property to the `ui.eyedropper_depth` operator to allow specifying the property that should be filled with the depth value. The idea for this is taken from `wm.radial_control`, which also uses this approach to write to a property. This allows us to add the eyedropper as a button. Pull Request: https://projects.blender.org/blender/blender/pulls/121486 |
||
---|---|---|
.gitea | ||
.github | ||
build_files | ||
doc | ||
extern | ||
intern | ||
lib | ||
locale | ||
release | ||
scripts | ||
source | ||
tests | ||
tools | ||
.clang-format | ||
.clang-tidy | ||
.editorconfig | ||
.git-blame-ignore-revs | ||
.gitignore | ||
.gitmodules | ||
AUTHORS | ||
CMakeLists.txt | ||
COPYING | ||
GNUmakefile | ||
make.bat | ||
pyproject.toml | ||
README.md |
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.
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.