Revision 4490
trunk/extensions/extCAD/src/com/iver/cit/gvsig/gui/cad/tools/MoveCADTool.java | ||
---|---|---|
114 | 114 |
FBitSet selection = CADExtension.getCADToolAdapter() |
115 | 115 |
.getVectorialAdapter().getSelection(); |
116 | 116 |
|
117 |
if (selection.cardinality() == 0) { |
|
117 |
if (selection.cardinality() == 0 && !CADExtension.getCADToolAdapter().getCadTool().getName().equals("selection")) {
|
|
118 | 118 |
CADExtension.setCADTool("selection"); |
119 | 119 |
((SelectionCADTool) CADExtension.getCADToolAdapter().getCadTool()).setNextTool( |
120 | 120 |
"move"); |
... | ... | |
154 | 154 |
|
155 | 155 |
vea.modifyRow(edRow.getIndex(),feat,getName()); |
156 | 156 |
} |
157 |
FBitSet selection = CADExtension.getCADToolAdapter() |
|
158 |
.getVectorialAdapter().getSelection(); |
|
159 |
selection.clear(); |
|
157 | 160 |
selectedRow.clear(); |
158 | 161 |
vea.endComplexRow(); |
159 | 162 |
} catch (DriverIOException e) { |
Also available in: Unified diff