Skip to content

SpatialTrack.clone() sets the trackSpatial to null #825

@stephengold

Description

@stephengold

The clone() method for SpatialTrack invokes jmeClone() which invokes the SpatialTrack constructor. Unfortunately, the constructor does not set the trackSpatial field, and neither does jmeClone() nor clone(). As a result, the cloned track's trackSpatial is always null.

Metadata

Metadata

Assignees

Labels

bugSomething that is supposed to work, but doesn't. More severe than a "defect".

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions