Commit 927c2de2 authored by legoc's avatar legoc
Browse files

Added test on hklLine and energyLine

parent f2de375b
......@@ -227,9 +227,13 @@ class TrajectoryView3D extends View3D {
for (let id in this._trajectoryLines) {
// Update the lines
let hklLine = this._trajectoryLines[id].hkl;
hklLine.updateLine();
if (hklLine !== null) {
hklLine.updateLine();
}
let energyLine = this._trajectoryLines[id].energy;
energyLine.updateLine();
if (energyLine !== null) {
energyLine.updateLine();
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment