a9c6889eb41aca7c2b8440572dcf75cb45ddb65f
This fixes an issue where the Canvas button is always disabled when trying to use the experimental feature, Sculpt Texture Paint. This bug was caused by the new Asset System since it changed how paint tools work. Before, the UI would check the current tool being used and determine if the Canvas button should be activated. With the new Asset System, painting is done with modular brushes instead of tools, so previous methods of checking tool properties have stopped working. This is fixed by activating the Canvas button based on the properties of the current brush. If the brush's type is either Paint or Smear, then the Canvas button is activated. Co-authored-by: T0MIS0N <50230774+T0MIS0N@users.noreply.github.com> Pull Request: https://projects.blender.org/blender/blender/pulls/133566
…
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%
