UI: hide the "Geometry" panel when viewing the render result

Ref !137242
This commit is contained in:
Campbell Barton 2025-04-10 01:50:43 +00:00
parent 94aabc0dbe
commit d21b488ac9

View file

@ -1690,7 +1690,7 @@ class IMAGE_PT_overlay_uv_display(Panel):
@classmethod
def poll(cls, context):
sima = context.space_data
return (sima and not (sima.show_uvedit))
return (sima and not (sima.show_uvedit or sima.show_render))
def draw(self, context):
layout = self.layout