Update of /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/attrview
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17270/src/net/sourceforge/bprocessor/gui/attrview
Modified Files:
AttributeView.java MyMouseListener.java
Log Message:
Renamed Material.getColor3fv to just getColor/setColor
Index: AttributeView.java
===================================================================
RCS file: /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/attrview/AttributeView.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** AttributeView.java 13 Jan 2006 10:19:41 -0000 1.19
--- AttributeView.java 13 Jan 2006 10:24:59 -0000 1.20
***************
*** 198,202 ****
*/
private Color getMaterialColor(Material material) {
! float[] rgb = material.getColor3fv();
return new Color(rgb[0], rgb[1], rgb[2]);
}
--- 198,202 ----
*/
private Color getMaterialColor(Material material) {
! float[] rgb = material.getColor();
return new Color(rgb[0], rgb[1], rgb[2]);
}
Index: MyMouseListener.java
===================================================================
RCS file: /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/attrview/MyMouseListener.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** MyMouseListener.java 13 Jan 2006 10:19:41 -0000 1.3
--- MyMouseListener.java 13 Jan 2006 10:24:59 -0000 1.4
***************
*** 46,50 ****
*/
private Color getMaterialColor(Material material) {
! float[] rgb = material.getColor3fv();
return new Color(rgb[0], rgb[1], rgb[2]);
}
--- 46,50 ----
*/
private Color getMaterialColor(Material material) {
! float[] rgb = material.getColor();
return new Color(rgb[0], rgb[1], rgb[2]);
}
|