Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Dobarro <pablodp606@gmail.com>2019-12-30 18:41:20 +0300
committerPablo Dobarro <pablodp606@gmail.com>2019-12-30 18:42:25 +0300
commit03145616843e06ee215d9a06973a2655eb0d486a (patch)
treeeb6959f567966030e78e776a015e23b40f426426 /source/blender/makesdna/DNA_brush_defaults.h
parent394b48029c5335381f774f83524ad6ee5cb986da (diff)
Sculpt: Add color alpha controls to the brush cursor
Previously the alpha was hardcoded to 0.7. Now it is possible to control the cursor alpha by changing the alpha color of the cursor color property. New alpha default is 0.9. This, with the new saturated colors, should make the cursor more visible on highdpi screens. I also removed the cache location preview as it is too visible right now with the new alpha and color values. Reviewed By: billreynish Differential Revision: https://developer.blender.org/D6433
Diffstat (limited to 'source/blender/makesdna/DNA_brush_defaults.h')
-rw-r--r--source/blender/makesdna/DNA_brush_defaults.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_brush_defaults.h b/source/blender/makesdna/DNA_brush_defaults.h
index 9d3689ce4ee..f7998fab8db 100644
--- a/source/blender/makesdna/DNA_brush_defaults.h
+++ b/source/blender/makesdna/DNA_brush_defaults.h
@@ -85,10 +85,10 @@
/* brush appearance */ \
\
/* add mode color is light red */ \
- .add_col = {1.0, 0.39, 0.39}, \
+ .add_col = {1.0, 0.39, 0.39, 0.9}, \
\
/* subtract mode color is light blue */ \
- .sub_col = {0.39, 0.39, 1.0}, \
+ .sub_col = {0.39, 0.39, 1.0, 0.9}, \
\
.stencil_pos = {256, 256}, \
.stencil_dimension = {256, 256}, \