mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-10 04:36:57 +08:00
[unity] Fixed GetRepackedSkin() ignoring mipmaps argument. Closes #1582.
This commit is contained in:
parent
f28e83539f
commit
a297e7f7c5
@ -302,7 +302,9 @@ namespace Spine.Unity.AttachmentTools {
|
|||||||
else {
|
else {
|
||||||
originalRegions.Add(region);
|
originalRegions.Add(region);
|
||||||
for (int i = 0; i < numTextureParamsToRepack; ++i) {
|
for (int i = 0; i < numTextureParamsToRepack; ++i) {
|
||||||
Texture2D regionTexture = (i == 0 ? region.ToTexture() : region.ToTexture(texturePropertyId: additionalTexturePropertyIDsToCopy[i - 1]));
|
Texture2D regionTexture = (i == 0 ?
|
||||||
|
region.ToTexture(mipmaps : mipmaps) :
|
||||||
|
region.ToTexture(mipmaps : mipmaps, texturePropertyId: additionalTexturePropertyIDsToCopy[i - 1]));
|
||||||
texturesToPackAtParam[i].Add(regionTexture);
|
texturesToPackAtParam[i].Add(regionTexture);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user