Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

SpriteBatch::findSpriteName() fails to find sprites #28

Closed
chaigler opened this issue Feb 26, 2013 · 2 comments
Closed

SpriteBatch::findSpriteName() fails to find sprites #28

chaigler opened this issue Feb 26, 2013 · 2 comments

Comments

@chaigler
Copy link
Contributor

SpriteBatch::findSpriteName() attempts to find a named sprite by searching through the mSpriteNames hashmap. Unfortunately this search will always return NULL because no key/value pairs are ever inserted into mSpriteNames, so SpriteBatch has no way of knowing which names map to which sprites.

@ghost
Copy link

ghost commented Feb 26, 2013

I'll investigate this shortly, thanks for the report.

@ghost ghost self-assigned this Feb 26, 2013
@ghost
Copy link

ghost commented Feb 26, 2013

Fixed here.

@ghost ghost closed this as completed Feb 26, 2013
Wavinator pushed a commit to Wavinator/Torque2D that referenced this issue Nov 7, 2013
…tionally this is now assigned during a Taml read operation. (GarageGames#28)
This issue was closed.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant