diff --git a/bundle/jsky.app.ot/src/main/java/jsky/app/ot/gemini/editor/targetComponent/EdCompTargetList.java b/bundle/jsky.app.ot/src/main/java/jsky/app/ot/gemini/editor/targetComponent/EdCompTargetList.java index 2a513b1462..aeb0708de0 100644 --- a/bundle/jsky.app.ot/src/main/java/jsky/app/ot/gemini/editor/targetComponent/EdCompTargetList.java +++ b/bundle/jsky.app.ot/src/main/java/jsky/app/ot/gemini/editor/targetComponent/EdCompTargetList.java @@ -1390,7 +1390,7 @@ enum BasePositionType implements PositionType { final GuideEnvironment genv = env.getGuideEnvironment(); final ImList user = env.getUserTargets().append(new UserTarget(UserTarget.Type.other, baseTarget)); - final TargetEnvironment newEnv = TargetEnvironment.create(baseTarget, genv, user); + final TargetEnvironment newEnv = TargetEnvironment.create(target, genv, user); obsComp.setTargetEnvironment(newEnv); }