Revision 10302

View differences:

trunk/libraries/libDwg/src/com/iver/cit/jdwglib/dwg/objects/DwgInsert.java
69 69
	private DwgHandleReference lastAttribHandle = null;
70 70
	private DwgHandleReference seqendHandle = null;
71 71
	
72
	/**
73
	 * An insert could be nexted in other insert.
74
	 * We wont process and insert two times.
75
	 * */
76
	private boolean processed = false;
77
	
72 78

  
73 79
	/**
74 80
	 * @return Returns the blockHeaderHandle.
......
216 222
	public void transform2Block(double[] bPoint, Point2D insPoint, 
217 223
			double[] scale, double rot, 
218 224
			List dwgObjectsWithoutBlocks, Map handle_objWithoutBlocks, DwgFile callBack) {
219
		DwgInsert transformedEntity = null;
225
		
226
		processed = true;
227
		
220 228
		double[] p = this.getInsertionPoint();
221 229
		Point2D point = new Point2D.Double(p[0], p[1]);
222 230
		
......
268 276
		myObj.setScale(scale);
269 277
		myObj.setSeqendHandle(seqendHandle);
270 278
	}
279
	public boolean isProcessed() {
280
		return processed;
281
	}
282
	public void setProcessed(boolean processed) {
283
		this.processed = processed;
284
	}
271 285

  
272 286
}

Also available in: Unified diff