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:
authorSergey Sharybin <sergey.vfx@gmail.com>2016-10-17 15:28:16 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-10-17 15:28:16 +0300
commitc2d0832c6ee11e1575744ab18233e41a9e7c2730 (patch)
treebc7b3425f37c31938d14eb7d42afe9605185c1f5 /release
parent7f19c4fdf920c47d288a279af64bcf151e021877 (diff)
UV Editor: Add filter option to control what is visible when Draw Other Objects is enabled
Previously the editor will always try to only show UV faces with the same exact active image or image texture, which is quite difficult to control on a production shaders, where each material can have multiple objects assigned. The idea of this commit is to bring option which allows to easily control what to display when "Draw Other Objects" is enabled, so currently we can have old behavior ("Same Image") or tell editor to show everything ("All"). In the future we can extend it with such filters as "Same Material" and things like that. Hopefully this will help @eyecandy's workflow of texturing.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_image.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py
index bf6df05c2b2..b6087184518 100644
--- a/release/scripts/startup/bl_ui/space_image.py
+++ b/release/scripts/startup/bl_ui/space_image.py
@@ -687,6 +687,12 @@ class IMAGE_PT_view_properties(Panel):
sub.active = uvedit.show_stretch
sub.row().prop(uvedit, "draw_stretch_type", expand=True)
+ col = layout.column()
+ col.prop(uvedit, "show_other_objects")
+ row = col.row()
+ row.active = uvedit.show_other_objects
+ row.prop(uvedit, "other_uv_filter", text="Filter")
+
if show_render and ima:
layout.separator()
render_slot = ima.render_slots.active