Ignore:
Timestamp:
07/21/16 21:57:36 (5 years ago)
Author:
gkronber
Message:

#2641: merged r14162,r14163,r14167,r14168,r14169 from trunk to stable

Location:
stable
Files:
3 edited
1 copied

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Problems.BinPacking.Views/3.3/PackingPlan2DView.cs

    r14162 r14170  
    5757    private void UpdateState(PackingPlan<BinPacking2D.PackingPosition, PackingShape, PackingItem> plan) {
    5858      int currentBin = (binSelection != null && binSelection.SelectedItem != null) ? (int)(binSelection.SelectedItem) : 0;
    59       container2DView.Packing = plan.BinPackings[currentBin];
     59      container2DView.Packing = plan.Bins[currentBin];
    6060    }
    6161
  • stable/HeuristicLab.Problems.BinPacking.Views/3.3/PackingPlan3DView.cs

    r14162 r14170  
    4747      } else {
    4848        int i = 0;
    49         foreach (var bp in Content.BinPackings)
     49        foreach (var bp in Content.Bins)
    5050          binSelection.Items.Add(i++ + " (" + Math.Round(bp.PackingDensity * 100, 2) + "%)");
    5151
     
    5757    private void ShowSelectedPacking() {
    5858      int currentBin = (binSelection != null) ? (int)(binSelection.SelectedIndex) : 0;
    59       packingPlan3D.Packing = Content.BinPackings[currentBin];
     59      packingPlan3D.Packing = Content.Bins[currentBin];
    6060    }
    6161
     
    6666      // add items of this container
    6767      int currentBin = (binSelection != null) ? (int)(binSelection.SelectedIndex) : 0;
    68       var packing = Content.BinPackings[currentBin];
     68      var packing = Content.Bins[currentBin];
    6969      foreach (var item in packing.Items) {
    7070        itemSelection.Items.Add(item.Key);
Note: See TracChangeset for help on using the changeset viewer.