[Bprocessor-commit] gl/src/net/sourceforge/bprocessor/gl/view View.java,1.82,1.83
Status: Pre-Alpha
Brought to you by:
henryml
|
From: Nordholt <nor...@us...> - 2006-05-03 10:11:33
|
Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26163 Modified Files: View.java Log Message: sorting out conflicts on target coloring Index: View.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view/View.java,v retrieving revision 1.82 retrieving revision 1.83 diff -C2 -d -r1.82 -r1.83 *** View.java 3 May 2006 09:59:19 -0000 1.82 --- View.java 3 May 2006 10:11:25 -0000 1.83 *************** *** 704,710 **** } ! if (target != null) { ! gl.glColor3fv(targetColor); drawObject(target); } --- 704,714 ---- } ! // draw target if (target != null) { ! if (colorMap.containsKey(target)) { ! gl.glColor3fv((float[])colorMap.get(target)); ! } else { ! gl.glColor3fv(targetColor); ! } drawObject(target); } |