Revision 2667

tmp/org.txm.chartsengine.core/src/org/txm/chartsengine/core/results/ChartResult.java (revision 2667)
361 361
	
362 362
	@Override
363 363
	public void updateDirtyFromHistory() throws Exception {
364
		this.dirty = super.hasParameterChanged();
364
		// FIXME: SJ: tmp fix, if the result is dirty (e.g. has been set dirty by its parent), do not pass it to not dirty
365 365
		if (!this.dirty) {
366
			this.dirty = this.hasRenderingParameterChanged(); // FIXME: SJ: temporary but breaks the dirty computing state and rendering computing state management
367
			// problem here is that if the object is not dirty, TXMResult.compute() doesn't call ChartResult._compute() so the rendering is not done
366
			
367
			this.dirty = super.hasParameterChanged();
368
			if (!this.dirty) {
369
				this.dirty = this.hasRenderingParameterChanged(); // FIXME: SJ: temporary but breaks the dirty computing state and rendering computing state management
370
				// problem here is that if the object is not dirty, TXMResult.compute() doesn't call ChartResult._compute() so the rendering is not done
371
			}
368 372
		}
369 373
	}
370 374
	

Also available in: Unified diff