Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv32255/src/net/sourceforge/bprocessor/gl/tool
Modified Files:
AbstractPencil.java
Log Message:
Comments
Index: AbstractPencil.java
===================================================================
RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool/AbstractPencil.java,v
retrieving revision 1.106
retrieving revision 1.107
diff -C2 -d -r1.106 -r1.107
*** AbstractPencil.java 30 Dec 2007 23:29:10 -0000 1.106
--- AbstractPencil.java 18 Jan 2008 13:37:10 -0000 1.107
***************
*** 58,63 ****
*
* As in AbstractTool it is common to implement cleanUp which is called when a tool is exited, to
! * secure nothing is left in some special case when the tool is used next time (REMEMBER TO CALL
! * SUPER IMPL.)
*
* If some geometry are needed to be drawn in the view for feedback and so on, use the feedback
--- 58,62 ----
*
* As in AbstractTool it is common to implement cleanUp which is called when a tool is exited, to
! * secure nothing is left in some special case when the tool is used next time.
*
* If some geometry are needed to be drawn in the view for feedback and so on, use the feedback
***************
*** 190,200 ****
if (start != null) {
Vertex normal;
- /*if (Math.abs(n.getZ()) > 0.47) {
- normal = new Vertex(0, 0, 1.0);
- } else {
- Vertex d = Project.getInstance().getCurrentCamera().getDirection();
- d.normalize();
- normal = d;
- }*/
normal = Project.getInstance().getActiveCoordinateSystem().getN();
--- 189,192 ----
|