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

Fill doesn't appear on iOS (release build only) #47

Closed
mapetek opened this issue May 23, 2013 · 12 comments
Closed

Fill doesn't appear on iOS (release build only) #47

mapetek opened this issue May 23, 2013 · 12 comments

Comments

@mapetek
Copy link

mapetek commented May 23, 2013

I had a problem with Fill class.
Everything seems okay when debugging on iPad or AIR simulator. But when i export release version of my app, Fill objects do not appear! They are on the screen for sure, i can touch and interact with but nothing is being displayed. I couldn't see any issue about that and somebody else have this problem.
http://forum.starling-framework.org/topic/graphics-extension-release-build-problem

@AlBirdie
Copy link
Contributor

You're probably building with 3.7, correct?

@mapetek
Copy link
Author

mapetek commented Jul 17, 2013

Yes, i am using AIR SDK 3.7

@Astraport
Copy link

Does anyone found a solution? In SDK 3.8 issue persists.

@AlBirdie
Copy link
Contributor

Did anyone else try the fix proposed in this thread: http://forum.starling-framework.org/topic/graphics-extension-release-build-problem?replies=10#post-44323?

For me that didn't do the trick.

@Astraport
Copy link

Yes, my Fill issue fixed with help this thread.

@AlBirdie
Copy link
Contributor

Interesting. Could you make a pull request with your fixed Stroke class then? I might have missed something important.

@Astraport
Copy link

You need use Inline version in isReflex() function too.

@AlBirdie
Copy link
Contributor

Got it. Cheers mate!
Just for the sakes of completeness, you must not use the Inline version in isPointInTriangle() and isReflex(), rather than the isLeft() function. Also, don't [Inline] isLeft() afterwards, that will cause the Fill to disappear again.

I guess we can consider this fixed (I'm happy to make a pull request later if required), though I'm absolutely clueless why the changed ASC2.0 compiler in AIR > 3.6 doesn't like the inlining in this particular case.

@AlBirdie AlBirdie mentioned this issue Sep 19, 2013
@robsilv
Copy link
Member

robsilv commented Sep 20, 2013

Hi guys, I've just merged @AlBirdie's pull request above. Please let us know if this solves your problems!

@mapetek
Copy link
Author

mapetek commented Sep 27, 2013

Hi @robsilv, i updated my source code and it worked but SWC does not. I think it is out-of-date.
Thank you all guys!

(I'm not closing issue yet for further comments)

@IonSwitz
Copy link
Member

I'm not sure what the policy is, should the SWC always represent the code, or do we do "releases" of the SWC at certain points? A few pull requests have been merged lately without the SWC being updated...

@IonSwitz
Copy link
Member

Closing this as the SWC now has been updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants