Skip to content
Snippets Groups Projects
Commit f6801cba authored by Mikhail Svechnikov's avatar Mikhail Svechnikov
Browse files

[i599] Fix 2D data rotation (#599) (Closes #599)

Merging branch 'i599'  into 'main'.

See merge request !1642
parents 1e84bfd2 eb23b478
No related branches found
No related tags found
1 merge request!1642Fix 2D data rotation (#599)
Pipeline #99924 passed
...@@ -302,7 +302,7 @@ void RealItem::rotateData() ...@@ -302,7 +302,7 @@ void RealItem::rotateData()
} }
// -- now rotate data // -- now rotate data
std::unique_ptr<const Datafield> input(intensityDataItem()->c_field()); const Datafield* input = intensityDataItem()->c_field();
intensityDataItem()->setDatafield(DataUtil::Data::createRearrangedDataSet(*input, 1).release()); intensityDataItem()->setDatafield(DataUtil::Data::createRearrangedDataSet(*input, 1).release());
intensityDataItem()->setAxesRangeToData(); intensityDataItem()->setAxesRangeToData();
} }
......
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