Skip to content
Snippets Groups Projects
Unverified Commit 23b9c4c5 authored by Gagik Vardanyan's avatar Gagik Vardanyan Committed by GitHub
Browse files

Merge pull request #27810 from mantidproject/27793_instrument_incorrect_flip

Correct instrument view default axis
parents 3702493d 183d2a70
No related branches found
No related tags found
No related merge requests found
...@@ -28,4 +28,9 @@ See :doc:`mantidworkbench`. ...@@ -28,4 +28,9 @@ See :doc:`mantidworkbench`.
SliceViewer and Vates Simple Interface SliceViewer and Vates Simple Interface
-------------------------------------- --------------------------------------
:ref:`Release 4.3.0 <v4.3.0>` :ref:`Release 4.3.0 <v4.3.0>`
\ No newline at end of file
Bugs
----
- Fixed a bug on the instrument viewer where changing projection and back to Full 3D would display from the wrong point of view.
\ No newline at end of file
...@@ -517,6 +517,7 @@ void InstrumentWidgetRenderTab::setScaleType(ColorMap::ScaleType type) { ...@@ -517,6 +517,7 @@ void InstrumentWidgetRenderTab::setScaleType(ColorMap::ScaleType type) {
} }
void InstrumentWidgetRenderTab::setAxis(const QString &axisNameArg) { void InstrumentWidgetRenderTab::setAxis(const QString &axisNameArg) {
mAxisCombo->setCurrentIndex(mAxisCombo->findText("Z+"));
QString axisName = axisNameArg.toUpper(); QString axisName = axisNameArg.toUpper();
int axisInd = mAxisCombo->findText(axisName.toUpper()); int axisInd = mAxisCombo->findText(axisName.toUpper());
if (axisInd < 0) if (axisInd < 0)
......
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