7f8d4df4104736365d695d2c404dc6fe278fd39a
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
…
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.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
