import com.itextpdf.text.Font;
+// FIXME: Override to zero mass produces NaN in simulation
+
/**
* General rocket optimization dialog.
*
if (newModifiers != null) {
int index = newModifiers.indexOf(original);
if (index >= 0) {
- newSelected.add(newModifiers.get(index));
+ SimulationModifier updated = newModifiers.get(index);
+ updated.setMinValue(original.getMinValue());
+ updated.setMaxValue(original.getMaxValue());
+ newSelected.add(updated);
}
}
}