[Bug #753] Fix bug
The parents recalculations were recalculating the secondary point, this caused that a posterior recalculation for the secondary point of the same task would say it has not modified the task. This caused the depending recalculations to not be executed. Now when doing the parent recalculation only the primary point is modified. FEA: ItEr65S06BugFixing
This commit is contained in:
parent
3f97bba952
commit
745fad2d7c
1 changed files with 4 additions and 1 deletions
|
|
@ -1241,7 +1241,10 @@ public class GanttDiagramGraph<V, D extends IDependency<V>> implements
|
|||
@Override
|
||||
PositionRestrictions enforceUsingPreviousRestrictions(
|
||||
PositionRestrictions restrictions) {
|
||||
if (taskPoint.areAllPointsPotentiallyModified()) {
|
||||
if (parentRecalculation) {
|
||||
// avoid interference from task containers shrinking
|
||||
return enforcePrimaryPoint(restrictions);
|
||||
} else if (taskPoint.areAllPointsPotentiallyModified()) {
|
||||
return enforceBoth(restrictions);
|
||||
} else if (taskPoint.somePointPotentiallyModified()) {
|
||||
return enforceSecondaryPoint(restrictions);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue