Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
f0a61d7a
Commit
f0a61d7a
authored
14 years ago
by
Lynch, Vickie
Browse files
Options
Downloads
Patches
Plain Diff
Refs #2763 Fixed MoveInstrumentComponent for new groups in SNAP
parent
880a495e
Branches
28238_updated_indirect_release_notes
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Code/Mantid/Framework/DataHandling/src/MoveInstrumentComponent.cpp
+7
-0
7 additions, 0 deletions
...id/Framework/DataHandling/src/MoveInstrumentComponent.cpp
with
7 additions
and
0 deletions
Code/Mantid/Framework/DataHandling/src/MoveInstrumentComponent.cpp
+
7
−
0
View file @
f0a61d7a
...
@@ -109,6 +109,13 @@ void MoveInstrumentComponent::exec()
...
@@ -109,6 +109,13 @@ void MoveInstrumentComponent::exec()
rot
.
inverse
();
rot
.
inverse
();
rot
.
rotate
(
Pos
);
rot
.
rotate
(
Pos
);
}
}
boost
::
shared_ptr
<
const
IComponent
>
grandparent
=
parent
->
getParent
();
if
(
grandparent
)
{
Quat
rot
=
grandparent
->
getRelativeRot
();
rot
.
inverse
();
rot
.
rotate
(
Pos
);
}
Geometry
::
ParameterMap
&
pmap
=
WS
->
instrumentParameters
();
Geometry
::
ParameterMap
&
pmap
=
WS
->
instrumentParameters
();
// Add a parameter for the new position
// Add a parameter for the new position
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment