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:
authorAntony Riakiotakis <kalast@gmail.com>2015-02-10 22:22:25 +0300
committerAntony Riakiotakis <kalast@gmail.com>2015-02-10 22:23:43 +0300
commita3b7f83cb54a9bafe3ed2156d7cda3a1b758792b (patch)
tree62372a0d1349e4f01f2ca4a7fe13aea2032cddc3 /release/scripts
parent13ad69c68e25346c6530e87d69eafded4d62dadc (diff)
Cavity mask support for texture painting.
Title says it all, options can be found in the options panel, A slider controls the amount of cavity masking that is applied while it's also possible to invert the mask and paint outside or inside cavities. Again we might greatly benefit from caching of the cavity result, but that should only affect startup time for the stroke.
Diffstat (limited to 'release/scripts')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d_toolbar.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
index 18a38c84582..7af8be108c1 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -1721,6 +1721,12 @@ class VIEW3D_PT_tools_projectpaint(View3DPaintPanel, Panel):
sub.active = (ipaint.use_normal_falloff)
sub.prop(ipaint, "normal_angle", text="")
+ layout.prop(ipaint, "use_cavity")
+ sub = layout.column()
+ sub.active = (ipaint.use_cavity)
+ sub.prop(ipaint, "cavity_mul", slider=True)
+ sub.prop(ipaint, "invert_cavity")
+
layout.prop(ipaint, "seam_bleed")
layout.prop(ipaint, "dither")
self.unified_paint_settings(layout, context)