mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 00:54:54 +00:00
Update ImageAsset.cpp
This commit is contained in:
parent
f5f50723ed
commit
7b73ce7a2f
1 changed files with 1 additions and 5 deletions
|
|
@ -381,12 +381,8 @@ GFXTexHandle ImageAsset::getTexture(GFXTextureProfile* requestedProfile)
|
||||||
mIsValidImage = true;
|
mIsValidImage = true;
|
||||||
mResourceMap.insert(requestedProfile, mNamedTarget->getTexture());
|
mResourceMap.insert(requestedProfile, mNamedTarget->getTexture());
|
||||||
mChangeSignal.trigger();
|
mChangeSignal.trigger();
|
||||||
}
|
|
||||||
if (mNamedTarget == NULL)
|
|
||||||
return nullptr;
|
|
||||||
else
|
|
||||||
return mNamedTarget->getTexture();
|
return mNamedTarget->getTexture();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue