Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv9454/src/net/sourceforge/bprocessor/gl/view
Modified Files:
View.java Display.java
Log Message:
Index: Display.java
===================================================================
RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view/Display.java,v
retrieving revision 1.98
retrieving revision 1.99
diff -C2 -d -r1.98 -r1.99
*** Display.java 23 Sep 2009 07:50:24 -0000 1.98
--- Display.java 5 Oct 2009 10:50:24 -0000 1.99
***************
*** 677,689 ****
Line yaxis = new Line(origin, j, system.isActive(), system.isEditable());
Line zaxis = new Line(origin, n, system.isActive(), system.isEditable());
! if (system.isActive()) {
! paint(xaxis, red);
! paint(yaxis, green);
! paint(zaxis, blue);
! } else {
! paint(xaxis, darkgrey);
! paint(yaxis, darkgrey);
! paint(zaxis, darkgrey);
! }
if (system.showPlane()) {
gl.glDepthMask(false);
--- 677,683 ----
Line yaxis = new Line(origin, j, system.isActive(), system.isEditable());
Line zaxis = new Line(origin, n, system.isActive(), system.isEditable());
! paint(xaxis, red);
! paint(yaxis, green);
! paint(zaxis, blue);
if (system.showPlane()) {
gl.glDepthMask(false);
Index: View.java
===================================================================
RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view/View.java,v
retrieving revision 1.291
retrieving revision 1.292
diff -C2 -d -r1.291 -r1.292
*** View.java 14 Sep 2009 16:22:59 -0000 1.291
--- View.java 5 Oct 2009 10:50:24 -0000 1.292
***************
*** 950,967 ****
boolean first = true;
for (Space space : path) {
labels.add(new SpaceBox(space));
- labels.add(new Label("/"));
}
! Selection selection = Selection.primary();
!
! if (selection.size() == 1) {
! Geometric geometric = selection.iterator().next();
! if (geometric instanceof Space) {
! Space container = (Space) geometric;
! labels.add(new SpaceBox(container));
! labels.add(new Label(">>"));
! }
! }
{
--- 950,972 ----
boolean first = true;
for (Space space : path) {
+ if (first) {
+ first = false;
+ } else {
+ labels.add(new Label("/"));
+ }
labels.add(new SpaceBox(space));
}
!
! // Selection selection = Selection.primary();
! //
! // if (selection.size() == 1) {
! // Geometric geometric = selection.iterator().next();
! // if (geometric instanceof Space) {
! // Space container = (Space) geometric;
! // labels.add(new SpaceBox(container));
! // labels.add(new Label(">>"));
! // }
! // }
{
|