Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv2498/src/net/sourceforge/bprocessor/model
Modified Files:
Command.java
Log Message:
added checkpoints on all evaluations
Index: Command.java
===================================================================
RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Command.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** Command.java 24 Oct 2007 06:48:23 -0000 1.13
--- Command.java 24 Oct 2007 07:45:43 -0000 1.14
***************
*** 128,131 ****
--- 128,132 ----
Surface face = new Surface(contour);
owner.insert(face);
+ Project.getInstance().checkpoint();
}
}
***************
*** 171,174 ****
--- 172,176 ----
}
Project.getInstance().changed(Project.getInstance());
+ Project.getInstance().checkpoint();
}
}
***************
*** 204,209 ****
for (int i = 0; i < s; i++) {
double val = i * Math.PI * 2 / s;
! double sin = Math.sin(val);
! double cos = Math.cos(val);
Vertex cur = new Vertex(cos, sin, 0);
if (first == null) {
--- 206,211 ----
for (int i = 0; i < s; i++) {
double val = i * Math.PI * 2 / s;
! double sin = Math.sin(val) * r;
! double cos = Math.cos(val) * r;
Vertex cur = new Vertex(cos, sin, 0);
if (first == null) {
***************
*** 244,247 ****
--- 246,250 ----
world.insert(top);
Project.getInstance().changed(world);
+ Project.getInstance().checkpoint();
}
}
***************
*** 295,298 ****
--- 298,302 ----
world.insert(top);
Project.getInstance().changed(world);
+ Project.getInstance().checkpoint();
}
}
***************
*** 339,342 ****
--- 343,347 ----
}
Project.getInstance().changed(Project.getInstance());
+ Project.getInstance().checkpoint();
}
}
|