gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gzz-commits] gzz gzz/vob/vobs/SimpleConnection.java gzz/vob/...


From: Asko Soukka
Subject: Re: [Gzz-commits] gzz gzz/vob/vobs/SimpleConnection.java gzz/vob/...
Date: Mon, 25 Nov 2002 14:26:28 +0200 (EET)

Mon, 25 Nov 2002, Benja Fallenstein wrote:
> >-            line = GLRen.createLineConnector(1, 1);
> >+        if(color != null)
> >+            line = GLRen.createColoredLineConnector(1, 1,
> >+                                                    color.getRed()/255f,
> >+                                                    color.getGreen()/255f,
> >+                                                    color.getBlue()/255f,
> >+                                                    1);
> >+        else line = GLRen.createLineConnector(1, 1);
> If LineConnector didn't work before, and you didn't change it (just
> added ColoredLineConnector), why do you still use LineConnector in some
> cases?

:) This was only for drawing red connections in DimDecorator also with GL.
AFAIK, views don't give the color parameter and the default color should
be used? But even I tried to be careful, every connection is now red with
GL. I'm pretty confused, how to avoid overwriting default color in GL. And
my code is not the only one, which currently does it...

-- 
Asko Soukka     | Taitoniekantie 9 A 603 | address@hidden
+358-40-8235947 | FIN-40740 JYVÄSKYLÄ    | http://www.iki.fi/asko.soukka/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]