From 6c376217b03c8da4d0563d0cede33872354bd3cb Mon Sep 17 00:00:00 2001 From: vtvivian <27768054+vtvivian@users.noreply.github.com> Date: Wed, 22 May 2024 17:26:40 +0100 Subject: [PATCH] force copy constructor to inherit plottingConvention --- EBSDAnalysis/@EBSD/EBSD.m | 1 + 1 file changed, 1 insertion(+) diff --git a/EBSDAnalysis/@EBSD/EBSD.m b/EBSDAnalysis/@EBSD/EBSD.m index 2f414c43a..f02f7772b 100644 --- a/EBSDAnalysis/@EBSD/EBSD.m +++ b/EBSDAnalysis/@EBSD/EBSD.m @@ -86,6 +86,7 @@ ebsd.unitCell = rot.unitCell; ebsd.scanUnit = rot.scanUnit; ebsd.A_D = rot.A_D; + ebsd.plottingConvention = pos.plottingConvention; for fn = fieldnames(rot.prop)' ebsd.prop.(char(fn))= rot.prop.(char(fn))(:); end