mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-10 22:24:33 +00:00
Merge remote-tracking branch 'upstream/development' into development
This commit is contained in:
commit
7a00e9464b
2 changed files with 12 additions and 5 deletions
|
|
@ -669,8 +669,8 @@ void ImageAsset::populateImage(void)
|
|||
mImageHeight = tempFile->mHeight;
|
||||
}
|
||||
|
||||
ddsFs->close();
|
||||
delete tempFile;
|
||||
delete ddsFs;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1651,10 +1651,17 @@ void GuiPopUpMenuCtrlEx::addChildren()
|
|||
|
||||
void GuiPopUpMenuCtrlEx::removeChildren()
|
||||
{
|
||||
mTl->deleteObject();
|
||||
mSc->deleteObject();
|
||||
mSearchEdit->deleteObject();
|
||||
mBackground->deleteObject();
|
||||
if (mTl && !mTl->isDeleted())
|
||||
mTl->deleteObject();
|
||||
|
||||
if (mSc && !mSc->isDeleted())
|
||||
mSc->deleteObject();
|
||||
|
||||
if (mSearchEdit && !mSearchEdit->isDeleted())
|
||||
mSearchEdit->deleteObject();
|
||||
|
||||
if (mBackground && !mBackground->isDeleted())
|
||||
mBackground->deleteObject();
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue