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

GVRCylinderSceneObject ignores HasBottomCap parameter #1638

Closed
SteveGreatApe opened this issue Nov 21, 2017 · 4 comments
Closed

GVRCylinderSceneObject ignores HasBottomCap parameter #1638

SteveGreatApe opened this issue Nov 21, 2017 · 4 comments
Labels

Comments

@SteveGreatApe
Copy link

The GVRCylinderSceneObject(GVRContext gvrContext, CylinderParams params) version of the constructor ignores the HasBottomCap parameter and always adds the bottom cap. From looking at the code other versions of the constructor might take note of this parameter and work correctly.

The problem is in the void generateCylinder(CylinderParams params) function, you can see when creating the top cap it checks params.HasTopCap is true, but the similar check when creating the bottom cap is missing.

@bohuang3d bohuang3d added the bug label Nov 27, 2017
@mwitchwilliams
Copy link
Contributor

mwitchwilliams commented Dec 4, 2017

I hope to address this issue the week of December 11 (2017 of course).

mkeblx pushed a commit to mkeblx/GearVRf that referenced this issue Dec 8, 2017
liaxim pushed a commit that referenced this issue Dec 11, 2017
@liaxim
Copy link
Contributor

liaxim commented Dec 11, 2017

@SteveGreatApe Fixed by #1661. Can we close the issue? Thanks.

@SteveGreatApe
Copy link
Author

The change looks right, but I'm not using the latest branch so can't actually test it.

I did look at moving over to the latest code, but changes to the Picker handling seemed quite complex, and I couldn't find any example to help show to move over to them so I've stuck on 4.0 for now. Maybe that subject needs a new issue itself.

@liaxim
Copy link
Contributor

liaxim commented Dec 12, 2017

Sure, for the picker created #1666.

@liaxim liaxim closed this as completed Dec 12, 2017
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

4 participants