mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Update ImageAsset.cpp
This commit is contained in:
parent
f5f50723ed
commit
7b73ce7a2f
|
|
@ -381,12 +381,8 @@ GFXTexHandle ImageAsset::getTexture(GFXTextureProfile* requestedProfile)
|
|||
mIsValidImage = true;
|
||||
mResourceMap.insert(requestedProfile, mNamedTarget->getTexture());
|
||||
mChangeSignal.trigger();
|
||||
}
|
||||
if (mNamedTarget == NULL)
|
||||
return nullptr;
|
||||
else
|
||||
return mNamedTarget->getTexture();
|
||||
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue