mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 17:56:04 +08:00
Removed updateOffset from setRegion.
People can call updateOffset if they change the region or other RegionAttachment properties.
This commit is contained in:
parent
d1b87c04a8
commit
bdc78db207
@ -138,7 +138,6 @@ public class RegionAttachment extends Attachment {
|
|||||||
vertices[U1] = region.getU2();
|
vertices[U1] = region.getU2();
|
||||||
vertices[V1] = region.getV2();
|
vertices[V1] = region.getV2();
|
||||||
}
|
}
|
||||||
updateOffset();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public TextureRegion getRegion () {
|
public TextureRegion getRegion () {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user