FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 1391 : Resize PGraphics3D
Last modified: 2010-02-20 13:25
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
FIXED -
Pr
i
ority:
P2
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
Stephen Williams
Assigned To:
fry
Attachment
Type
Created
Size
Actions
Description
: Opened: 2009-11-29 11:01
On Revision 5707 of PGraphics3D camera() and perspective() were commented out in
setSize(). This breaks resizing().
public class TestResize extends PApplet{
public void setup(){
size(300,300,P3D);
}
public void draw(){
background(frameCount%255);
line(random(width),random(width),random(width),random(width));
}
public void mousePressed(){
size(301,300,P3D);
}
}
Additional Comment
#1 From fry 2010-02-17 20:54
to be clear, does this work in 1.0.9 and is broken in the svn version?
Additional Comment
#2 From Stephen Williams 2010-02-18 05:47
It was in the SVN version. At that time the latest release was working fine.
(In reply to
comment #1
)
>
>
>
> Additional
Comment #1
From
> fry
> 2010-02-17 20:54
>
> <!--
> addReplyLink(1); //-->[reply]
>
>
>
>
>
>
> to be clear, does this work in 1.0.9 and is broken in the svn
version?
>
>
Additional Comment
#3 From fry 2010-02-18 06:03
thanks, it's a regression from another bug that was caused by
camera/perspective being called in setSize(). will fix.
Additional Comment
#4 From fry 2010-02-20 13:25
fixed for revision 0176.