Fix: incorrect range of y offset in the Offset function
This commit is contained in:
parent
1f91a2db6f
commit
eeaaaf5b29
@ -342,7 +342,7 @@ class IMAGE_EDITOR_PLUS_OT_offset_dialog(bpy.types.Operator):
|
|||||||
|
|
||||||
IMAGE_EDITOR_PLUS_OffsetPropertyGroup.offset_y = \
|
IMAGE_EDITOR_PLUS_OffsetPropertyGroup.offset_y = \
|
||||||
bpy.props.IntProperty(name='Offset Y', subtype='FACTOR',
|
bpy.props.IntProperty(name='Offset Y', subtype='FACTOR',
|
||||||
min=-width + 1, max=width - 1)
|
min=-height + 1, max=height - 1)
|
||||||
|
|
||||||
update_offset_properties(self, context)
|
update_offset_properties(self, context)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user