Fix setting the texture map array when removing a texture
This commit is contained in:
parent
169a260946
commit
b0b1355887
@ -1842,9 +1842,10 @@ namespace LayoutBXLYT
|
|||||||
if (TextureMaps[i].Name == name)
|
if (TextureMaps[i].Name == name)
|
||||||
removeIndex = i;
|
removeIndex = i;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (removeIndex != -1)
|
if (removeIndex != -1)
|
||||||
{
|
{
|
||||||
TextureMaps.RemoveAt(removeIndex);
|
TextureMaps = TextureMaps.RemoveAt(removeIndex);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user