[Bprocessor-commit] gl/src/net/sourceforge/bprocessor/gl/view View.java, 1.223, 1.224
Status: Pre-Alpha
Brought to you by:
henryml
From: rimestad <rim...@us...> - 2007-08-20 12:34:28
|
Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv14138/src/net/sourceforge/bprocessor/gl/view Modified Files: View.java Log Message: Improved on extrude tool Index: View.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view/View.java,v retrieving revision 1.223 retrieving revision 1.224 diff -C2 -d -r1.223 -r1.224 *** View.java 24 Jul 2007 09:46:42 -0000 1.223 --- View.java 20 Aug 2007 12:33:37 -0000 1.224 *************** *** 2405,2409 **** * @return The object */ ! private Object getName(int index) { return objectTable.get(index - 1); } --- 2405,2409 ---- * @return The object */ ! private Object getObject(int index) { return objectTable.get(index - 1); } *************** *** 2461,2467 **** bufferOffset += names; ! Object current = getName(id); ! if ((current instanceof Surface) || !unWantedEntities.contains(current)) { if (current instanceof Surface) { if (near < nearestSurface) { --- 2461,2467 ---- bufferOffset += names; ! Object current = getObject(id); ! if (!unWantedEntities.contains(current)) { if (current instanceof Surface) { if (near < nearestSurface) { *************** *** 2510,2514 **** } } ! if (surface != null) { if (unWantedEntities.contains(surface)) { --- 2510,2515 ---- } } ! log.debug("Found surface:" + surface + " edge:" + edge + " vertex:" + vertex + ! " glObject:" + glo); if (surface != null) { if (unWantedEntities.contains(surface)) { *************** *** 2791,2795 **** if (names > 0) { int tar = selectBuffer.get(bufferOffset); ! Object current = getName(tar); selection.add(current); bufferOffset += names; --- 2792,2796 ---- if (names > 0) { int tar = selectBuffer.get(bufferOffset); ! Object current = getObject(tar); selection.add(current); bufferOffset += names; |