Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

getBounds returning incorrect values #11

Closed
alexh00 opened this issue Dec 3, 2012 · 3 comments
Closed

getBounds returning incorrect values #11

alexh00 opened this issue Dec 3, 2012 · 3 comments
Labels

Comments

@alexh00
Copy link

alexh00 commented Dec 3, 2012

I'm testing the Dragon example in Starling. I create my armature and reference the Starling display object it generates through the accessor armature.display. If I call getBounds on that display object, passing through itself as the argument in order to get its own internal co-ordinates and work out what its x and y registration points are, I get a rectangle with incorrect values for the x and y. The values I get seem to be smaller than they should be. I think this is a DragonBones issue, not a Starling issue, although I could be wrong!

@superlancelot
Copy link
Member

It is our bug indeed. We will figure out how to fix it ASAP!

Thank you very much!
Chenguang

@alexh00
Copy link
Author

alexh00 commented Dec 4, 2012

That's great, thanks for the speedy response!

@akdcl
Copy link
Member

akdcl commented Jul 22, 2016

You can set slot.transformUpdateEnabled = true to update the slot.display transform in starling :)

@akdcl akdcl closed this as completed Jul 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants