[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:
parent
74ecf0e493
commit
b02ca2f056
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue