Revision 2668

tmp/org.txm.chartsengine.core/src/org/txm/chartsengine/core/results/ChartResult.java (revision 2668)
361 361
	
362 362
	@Override
363 363
	public void updateDirtyFromHistory() throws Exception {
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
364
		
365
		if (super.hasParameterChanged()) {
366
			this.dirty = true;
367
		}
368
		
365 369
		if (!this.dirty) {
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
			}
370
			this.dirty = this.hasRenderingParameterChanged(); // FIXME: SJ: temporary but breaks the dirty computing state and rendering computing state management
371
			// problem here is that if the object is not dirty, TXMResult.compute() doesn't call ChartResult._compute() so the rendering is not done
372 372
		}
373 373
	}
374 374
	

Also available in: Unified diff