Changeset 284 for trunk/src/org/expeditee/items/Item.java
- Timestamp:
- 08/27/08 15:10:31 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/items/Item.java
r282 r284 1100 1100 if (returnValue instanceof Item) { 1101 1101 Misc.attachToCursor(((Item) returnValue).getAllConnected()); 1102 } else if (returnValue instanceof Collection) { 1103 try { 1104 Misc.attachToCursor((Collection) returnValue); 1105 } catch (Exception e) { 1106 e.printStackTrace(); 1107 } 1102 1108 } else { 1103 1109 Misc.attachStatsToCursor(returnValue.toString()); … … 1546 1552 for (Item i : getAllConnected()) { 1547 1553 if (i instanceof Line) { 1548 ((Line) i).invalidateCommonTrait(trait);1554 ((Line) i).invalidateCommonTrait(trait); 1549 1555 } 1550 1556 } … … 1670 1676 line.updatePolygon(); 1671 1677 } 1672 1673 //for (Item item : getAllConnected()) {1674 //item.updatePolygon();1675 //}1678 1679 // for (Item item : getAllConnected()) { 1680 // item.updatePolygon(); 1681 // } 1676 1682 1677 1683 invalidateCommonTraitForAll(ItemAppearence.PostMoved);
Note:
See TracChangeset
for help on using the changeset viewer.