UI: Show UV grid overlay options in all Image Editor modes

The UV Grid display options were only available in the UV Editor and
when in Edit Mode. On the surface, this could make sense as you
only edit UVs in Edit Mode and that is where the grid options are most
useful.

However, now that UVs can be seen in Object Mode, it is good to be able
to adjust the UDIM tile count in object mode as well.

See !158449 for details and screenshots.

Pull Request: https://projects.blender.org/blender/blender/pulls/158449
This commit is contained in:
Jonathan Lampel 2026-05-28 15:33:47 +02:00 • committed by Pablo Vazquez
parent 5d6c390e51
commit 6ffa78ef64

View file

@ -1632,12 +1632,6 @@ class IMAGE_PT_overlay_guides(Panel):
bl_label = "Guides"
bl_parent_id = "IMAGE_PT_overlay"
@classmethod
def poll(cls, context):
sima = context.space_data
return sima.show_uvedit
def draw(self, context):
layout = self.layout