Fix: Remove reference to non-existing "use_snap_uv_grid_absolute"

Also add missing renames from f66cb1e635
This commit is contained in:
Germano Cavalcante 2024-03-28 10:08:56 -03:00
parent 71fd693d22
commit 7f3be1ddd8
1 changed files with 2 additions and 4 deletions

View File

@ -1014,17 +1014,15 @@ class IMAGE_PT_snapping(Panel):
layout = self.layout
col = layout.column()
col.label(text="Snapping")
col.label(text="Snap Target")
col.prop(tool_settings, "snap_uv_element", expand=True)
if tool_settings.snap_uv_element != 'INCREMENT':
col.label(text="Target")
col.label(text="Snap Base")
row = col.row(align=True)
row.prop(tool_settings, "snap_target", expand=True)
col.separator()
if 'INCREMENT' in tool_settings.snap_uv_element:
col.prop(tool_settings, "use_snap_uv_grid_absolute")
col.label(text="Affect")
row = col.row(align=True)