Changed code to be compliant to .Net Framework 4.8.
This commit is contained in:
@@ -86,8 +86,12 @@ namespace RecrownedGTK.Tools.TextureAtlas
|
||||
masterNode.region.Height = TextureLength;
|
||||
Queue<ImageHandler> imageHandlerQueue = new Queue<ImageHandler>(imageHandlers);
|
||||
ImageHandler imageHandler;
|
||||
while (imageHandlerQueue.TryDequeue(out imageHandler))
|
||||
|
||||
|
||||
while (imageHandlerQueue.Count != 0)
|
||||
{
|
||||
imageHandler = imageHandlerQueue.Dequeue();
|
||||
|
||||
Node activeNode = null;
|
||||
activeNode = masterNode.InsertImageHandler(imageHandler);
|
||||
if (activeNode == null)
|
||||
|
Reference in New Issue
Block a user