Skip to content
Snippets Groups Projects
Commit 158e93f0 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

restore scan item intensity in FromCore

parent 7babf7a0
No related branches found
No related tags found
1 merge request!1350Restore intensity variable to scans (#433)
......@@ -419,7 +419,7 @@ SpecularInstrumentItem* createSpecularInstrumentItem(const SpecularSimulation& s
const ISpecularScan* scan = simulation.scan();
beam_item->setIntensity(1.0); // TODO ISSUE #303
beam_item->setIntensity(scan->intensity());
beam_item->setWavelength(scan->wavelength());
beam_item->setInclinationAngle(0.0); // inclination angle is hardcoded
beam_item->setAzimuthalAngle(0.0); // azimuthal angle is hardcoded
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment