diff options
author | Ivan Perevala <ivpe> | 2020-10-27 09:35:44 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-10-27 09:38:29 +0300 |
commit | eebe274312864fdab98ba189494a88ce4dc31632 (patch) | |
tree | c4b92ae501b38802dac67e07e8dd82847c47f5cf /release/scripts/startup/bl_ui/properties_paint_common.py | |
parent | 4d15f4ac5b81d8b6e970731ea9f5106700dd3fe9 (diff) |
RNA: remove duplicate of Brush.tex_paint_map_mode
Use Brush.map_mode instead.
Ref D9290
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_paint_common.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_paint_common.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_ui/properties_paint_common.py b/release/scripts/startup/bl_ui/properties_paint_common.py index 01454f8ee05..63ccbd2ae05 100644 --- a/release/scripts/startup/bl_ui/properties_paint_common.py +++ b/release/scripts/startup/bl_ui/properties_paint_common.py @@ -1024,10 +1024,7 @@ def brush_texture_settings(layout, brush, sculpt): layout.use_property_decorate = False # map_mode - if sculpt: - layout.prop(tex_slot, "map_mode", text="Mapping") - else: - layout.prop(tex_slot, "tex_paint_map_mode", text="Mapping") + layout.prop(tex_slot, "map_mode", text="Mapping") layout.separator() |