mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-05-30 16:41:38 +00:00
Fixed a rare crash when pasting a thing that has a model assigned to another map
This commit is contained in:
parent
70f0c22f72
commit
62d9da0e73
2 changed files with 14 additions and 9 deletions
|
@ -274,14 +274,19 @@ namespace CodeImp.DoomBuilder.Data
|
|||
|
||||
public void LoadImageNow()
|
||||
{
|
||||
if (imagestate != ImageLoadState.Ready)
|
||||
{
|
||||
imagestate = ImageLoadState.Loading;
|
||||
LoadImage(true);
|
||||
}
|
||||
LoadImageNow(true);
|
||||
}
|
||||
|
||||
internal void BackgroundLoadImage()
|
||||
public void LoadImageNow(bool notify)
|
||||
{
|
||||
if (imagestate != ImageLoadState.Ready)
|
||||
{
|
||||
imagestate = ImageLoadState.Loading;
|
||||
LoadImage(notify);
|
||||
}
|
||||
}
|
||||
|
||||
internal void BackgroundLoadImage()
|
||||
{
|
||||
LoadImage(true);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue