Skip to content

Commit

Permalink
Fix addPositionCoordinate for copied objects.
Browse files Browse the repository at this point in the history
Refs #9802
  • Loading branch information
martyngigg committed Jul 2, 2014
1 parent 395dbcc commit b3bfbc7
Showing 1 changed file with 1 addition and 4 deletions.
Expand Up @@ -307,10 +307,7 @@ namespace Mantid
//clear the position cache
clearPositionSensitiveCaches();
// finally add or update "pos" parameter
if (param)
param->set(position);
else
addV3D(comp, pos(), position);
addV3D(comp, pos(), position);
}

/** Create or adjust "rot" parameter for a component
Expand Down

0 comments on commit b3bfbc7

Please sign in to comment.