[Bug #1082] Fix bug

Making that the parent recalculations go after the normal ones. Thus
if a normal recalculation is needed for a parent, i.e. a container,
it's executed before the parent recalculation. Otherwise the parent
recalculation would apply the modifications and the normal
recalculation will think that no modifications have been done and its
successors would not be executed.

FEA: ItEr74S04BugFixing
This commit is contained in:
Óscar González Fernández 2011-06-01 13:47:44 +02:00
parent 74ecf0e493
commit b02ca2f056

View file

@ -469,8 +469,8 @@ public class GanttDiagramGraph<V, D extends IDependency<V>> implements
+ o2.taskPoint);
int result = o1Depth - o2Depth;
if (result == 0) {
return asInt(o2.parentRecalculation)
- asInt(o1.parentRecalculation);
return asInt(o1.parentRecalculation)
- asInt(o2.parentRecalculation);
}
return result;
}