[Bprocessor-commit] gui/src/net/sourceforge/bprocessor/gui PopupMenu.java, 1.78, 1.79
Status: Pre-Alpha
Brought to you by:
henryml
From: rimestad <rim...@us...> - 2007-11-26 18:08:07
|
Update of /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv24017/src/net/sourceforge/bprocessor/gui Modified Files: PopupMenu.java Log Message: Made make component remove the union from the model and made make union make the space a acctual union Index: PopupMenu.java =================================================================== RCS file: /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/PopupMenu.java,v retrieving revision 1.78 retrieving revision 1.79 diff -C2 -d -r1.78 -r1.79 *** PopupMenu.java 26 Nov 2007 07:29:05 -0000 1.78 --- PopupMenu.java 26 Nov 2007 18:08:07 -0000 1.79 *************** *** 353,356 **** --- 353,357 ---- public void actionPerformed(ActionEvent event) { Component component = new Component(space); + space.getOwner().remove(space); Project.getInstance().addCalalogObject(component); Project.getInstance().changed(Project.getInstance()); *************** *** 486,489 **** --- 487,491 ---- Mesh copy = mesh.copy(map); Space union = new Space("Union", Space.CONSTRUCTION, true); + union.setUnion(true); for (Vertex current : copy.vertices()) { union.add(current); |