Bug 454 : default background sometimes not set properly
Last modified: 2007-10-16 06:29




Status:
RESOLVED
Resolution:
FIXED -
Priority:
P1
Severity:
normal

 

Reporter:
andres.wanner
Assigned To:
fry

Attachment Type Created Size Actions
draws circles with alpha value of 10. Alpha is only displayed correctly, when background() was specified. text/plain 2006-11-22 05:26 218 bytes

Description:   Opened: 2006-11-22 05:24
// alpha not displayed correctly, as long as background() not specified
// bug reported by andres.wanner
// revision 0115
// OSX 10.4

void setup() {
size(400,400);
//background(128);
noStroke();
}

void draw() {
fill(0,10);
ellipse(mouseX, mouseY, 10, 10);
}
Additional Comment #1 From andres.wanner 2006-11-22 05:26
edit]
draws circles with alpha value of 10. Alpha is only displayed correctly, when
background() was specified.
Additional Comment #2 From fry 2006-11-22 14:29
technical details: defaults() not getting called because defaultsInited not
resetting and the background isn't being cleared. the alpha issue is
related to bug #428.
Additional Comment #3 From fry 2007-10-16 06:29
fixed for 0128.