mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-28 00:29:34 +00:00
use of get<some name> methods that already return nulls/false when attempting to load
in contexts where we would want to try first
This commit is contained in:
parent
a43458677a
commit
40974dd14b
11 changed files with 31 additions and 31 deletions
|
|
@ -112,7 +112,7 @@ void GuiCursor::onRemove()
|
|||
|
||||
void GuiCursor::render(const Point2I &pos)
|
||||
{
|
||||
if (mBitmapAsset.notNull())
|
||||
if (getBitmap())
|
||||
{
|
||||
mExtent.set(getBitmap()->getWidth(), getBitmap()->getHeight());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue