Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv31058/src/net/sourceforge/bprocessor/model
Modified Files:
Project.java
Log Message:
Adjusted PPLM export
Index: Project.java
===================================================================
RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Project.java,v
retrieving revision 1.174
retrieving revision 1.175
diff -C2 -d -r1.174 -r1.175
*** Project.java 18 May 2009 09:31:26 -0000 1.174
--- Project.java 19 May 2009 07:02:59 -0000 1.175
***************
*** 1339,1347 ****
if (envelope.size() > 0) {
for (Surface current : envelope) {
- no++;
locs.add(createLocationModel(space, level, locations, openings, current, no));
}
} else {
! locs.add(createLocationModel(space, level, locations, openings, null, no));
}
return locs;
--- 1339,1347 ----
if (envelope.size() > 0) {
for (Surface current : envelope) {
locs.add(createLocationModel(space, level, locations, openings, current, no));
+ no++;
}
} else {
! locs.add(createLocationModel(space, level, locations, openings, null, 0));
}
return locs;
***************
*** 1352,1358 ****
Surface surface, int no) {
Location location = new Location();
! if (surface != null) {
location.setId(space.getName() + "-" + no);
} else {
location.setId(space.getName());
}
--- 1352,1359 ----
Surface surface, int no) {
Location location = new Location();
! if (no > 0) {
location.setId(space.getName() + "-" + no);
} else {
+ System.out.println("using just the name " + space.getName());
location.setId(space.getName());
}
|