[Bprocessor-commit] gl/src/net/sourceforge/bprocessor/gl/tool MultiExtrudeTool.java,1.9,1.10
Status: Pre-Alpha
Brought to you by:
henryml
From: Michael L. <he...@us...> - 2006-03-20 13:49:34
|
Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29938/src/net/sourceforge/bprocessor/gl/tool Modified Files: MultiExtrudeTool.java Log Message: Got rid of warnins. Checkpoints model. Index: MultiExtrudeTool.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool/MultiExtrudeTool.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** MultiExtrudeTool.java 12 Mar 2006 21:10:29 -0000 1.9 --- MultiExtrudeTool.java 20 Mar 2006 13:49:30 -0000 1.10 *************** *** 201,204 **** --- 201,205 ---- */ private void remove(Set elem) { + if (elem != null) { Iterator iter = elem.iterator(); *************** *** 206,210 **** Object o = iter.next(); if (o instanceof Surface) { ! Project.getInstance().delete((Surface)o); } } --- 207,211 ---- Object o = iter.next(); if (o instanceof Surface) { ! ((Surface)o).delete(); } } *************** *** 246,250 **** holeAnalysis(current); } ! // Selection.primary().addAll(tops); } } --- 247,251 ---- holeAnalysis(current); } ! Project.getInstance().checkpoint(); } } *************** *** 296,298 **** --- 297,307 ---- } } + + /** + * Log an object + * @param message Object to log + */ + public static void info(Object message) { + log.info(message); + } } |