Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1793,9 +1793,8 @@ public void cloneFields( Cloner cloner, Object original ) {
// This was not cloned before... I think that's a mistake.
this.affectedAreaBBox = cloner.clone(affectedAreaBBox);

// picker is not cloneable and not cloned. This also seems like
// a mistake if you ever load the same terrain twice.
// this.picker = cloner.clone(picker);
// Otherwise, picker would be cloned by reference and thus "this" would be wrong
this.picker = new BresenhamTerrainPicker(this);

// neighbourFinder is also not cloned. Maybe that's ok.
}
Expand Down