diff --git a/MLEM/Textures/TextureRegion.cs b/MLEM/Textures/TextureRegion.cs index 8fdc743..5b3f472 100644 --- a/MLEM/Textures/TextureRegion.cs +++ b/MLEM/Textures/TextureRegion.cs @@ -60,7 +60,7 @@ namespace MLEM.Textures { public string Name = string.Empty; /// /// A that this texture region was created from. - /// This value is set in the various constructors that accept another to create sub-regions from, as well as by MLEM.Data's RuntimeTexturePacker. + /// This value is set in the various constructors that accept another to create sub-regions from, in , as well as by MLEM.Data's RuntimeTexturePacker. /// public TextureRegion Source; @@ -132,7 +132,10 @@ namespace MLEM.Textures { /// The offset to apply to the /// An offset copy of this texture region public TextureRegion OffsetCopy(Point offset) { - return new TextureRegion(this.Texture, this.Position + offset, this.Size) {Pivot = this.Pivot}; + return new TextureRegion(this.Texture, this.Position + offset, this.Size) { + Pivot = this.Pivot, + Source = this + }; } }