What is the correct way to in the UV editor perform an X or Y mirror as one command for a pie operator?
pie.operator("transform.mirror()", text="Mirror").constraint_axis='True, False, False'
Based on what I saw in the console:
bpy.ops.transform.mirror(constraint_axis=(True, False, False), constraint_orientation='GLOBAL', proportional='DISABLED', proportional_edit_falloff='SPHERE', proportional_size=0.0323492)
I struggle to understand the logic because I was able to successfully do this with a different snapping command
has to be written as
pie.operator("uv.snap_cursor", text="Snap Cursor to Selected").target='SELECTED'
Alternatively I could just define an operator and call the name via a pie button but I feel this makes the script longer than needed