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

push/popStyle is messing up colors in P3D #2102

Closed
mschi opened this issue Sep 28, 2013 · 4 comments
Closed

push/popStyle is messing up colors in P3D #2102

mschi opened this issue Sep 28, 2013 · 4 comments
Assignees
Labels

Comments

@mschi
Copy link

mschi commented Sep 28, 2013

hi,
there seems to be a bug in the push/popStyle-implementation.
see demo code below. the box should always be in a saturated red.
tested in processing 2.0.3.

void setup() {
size(640, 360, P3D);
}

void draw() {
lights();
background(255);

pushStyle();
popStyle();

translate(width/2,height/2,0);
fill(255,0,0);
box(100);
}

with push/popStyle
image

without push/popStyle
image

@ghost ghost assigned codeanticode Sep 28, 2013
@mschi
Copy link
Author

mschi commented Sep 28, 2013

one addition: link to the thread where the problem was first discussed:
https://forum.processing.org/topic/controlp5-is-messing-up-my-fill-colors

codeanticode added a commit that referenced this issue Oct 3, 2013
@codeanticode
Copy link
Member

Fixed with commit c356c22

@mschi
Copy link
Author

mschi commented Oct 3, 2013

thanks

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants