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

shift mesocrystal outer shape to the layer origin

parent c3b2b6a5
No related branches found
No related tags found
1 merge request!2754Shift mesocrystal outer shape to the layer origin in 3D view
Pipeline #170763 passed
......@@ -268,7 +268,7 @@ Particle3DContainer Img3D::BuilderUtils::mesocrystal3DContainer(Mesocrystal* con
// Add outer shape for visualization
auto outerShape3D = Img3D::particle3DfromFF(outerShapeff);
outerShape3D->addTransform(EulerAngles(mesocrystal_rotation), mesocrystal_translation);
outerShape3D->addTransform(EulerAngles(mesocrystal_rotation), mesocrystal_translation + origin);
// assign grey (default) color to the outer shape
QColor color = {};
......
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