Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv9240/src/net/sourceforge/bprocessor/gl/tool
Modified Files:
AbstractPencil.java
Log Message:
Changed drawing of target when using AbstractPencil tools
Index: AbstractPencil.java
===================================================================
RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool/AbstractPencil.java,v
retrieving revision 1.55
retrieving revision 1.56
diff -C2 -d -r1.55 -r1.56
*** AbstractPencil.java 10 Aug 2006 13:08:01 -0000 1.55
--- AbstractPencil.java 15 Aug 2006 09:51:14 -0000 1.56
***************
*** 698,709 ****
if (edge.getStrippled()) {
target = current;
! targetColor = View.CONSTRUCTOR_COLOR;
} else {
! target = intersection.object();
}
break;
case Intersection.SURFACE:
! target = intersection.object();
//plane = ((Surface) target).plane();
break;
--- 698,713 ----
if (edge.getStrippled()) {
target = current;
! targetColor = View.EDGE_ON_COLOR;
} else {
! //target = intersection.object();
! target = current;
! targetColor = View.EDGE_ON_COLOR;
}
break;
case Intersection.SURFACE:
! //target = intersection.object();
! target = current;
! targetColor = View.SURFACE_ON_COLOR;
//plane = ((Surface) target).plane();
break;
|