60a3f886c62b8266dc1bf3d1ef39b874669969f8
NSColorSampler for picking colors outside of the Blender window
#115187 introduced the eyedropper tool for use outside blender on macOS, but the following issues remain: 1. Users must grant screen capture permission to blender. 2. No visual cue. (cursor icon cannot display as an eyedropper outside blender) 3. Users must press `Enter` to activate the picker. 4. `CGWindowListCreateImage` function has been deprecated as of macOS 14.0 The proposed fix is to use `NSColorSampler` class to select colours directly from onscreen content. It offers: 1. Permission free (no screen capture permission required). 2. A clear visual cue when selecting colours. Known issue: 1. Still need press `Enter` to activate the picker. Pull Request: https://projects.blender.org/blender/blender/pulls/131593
…
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%
