|
From: <de...@us...> - 2013-01-22 17:00:41
|
Revision: 8243
http://fudaa.svn.sourceforge.net/fudaa/?rev=8243&view=rev
Author: deniger
Date: 2013-01-22 17:00:30 +0000 (Tue, 22 Jan 2013)
Log Message:
-----------
Modified Paths:
--------------
trunk/soft/fudaa-prepro/ui/src/main/java/org/fudaa/fudaa/tr/post/TrIsoLayerDefault.java
Modified: trunk/soft/fudaa-prepro/ui/src/main/java/org/fudaa/fudaa/tr/post/TrIsoLayerDefault.java
===================================================================
--- trunk/soft/fudaa-prepro/ui/src/main/java/org/fudaa/fudaa/tr/post/TrIsoLayerDefault.java 2013-01-22 16:59:58 UTC (rev 8242)
+++ trunk/soft/fudaa-prepro/ui/src/main/java/org/fudaa/fudaa/tr/post/TrIsoLayerDefault.java 2013-01-22 17:00:30 UTC (rev 8243)
@@ -657,6 +657,10 @@
@Override
public LineString getSelectedLine() {
if (getIsoModelAbstract().isCurrentDataElementType()) {
+ int[] twoFirstSelected = super.getTwoFirstSelected();
+ if (twoFirstSelected.length == 2) {
+ return ZCalquePolygone.getSelectedLine(twoFirstSelected[0], twoFirstSelected[1], getIsoModelAbstract());
+ }
return ZCalquePolygone.getSelectedLine(this, getIsoModelAbstract());
}
return super.getSelectedLine();
@@ -899,7 +903,7 @@
int w = getWidth() + 1;
CtuluListSelection memory = new CtuluListSelection(w * getHeight());
if (isos != null) {
- isos.setDimension(getWidth(), getHeight(), selection_);
+ isos.setDimension(getWidth(), getHeight(), memory);
}
Envelope envReel = _clipReel.getEnv();
for (idxElt = 0; idxElt < n; idxElt++) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|