protected virtual void InitFixedAttach()
{
if (attachMode.FixedJoint) {
Part srcPart = KAS_Shared.GetPartByID(
FixedAttach.savedSrcVesselID, FixedAttach.savedSrcPartID);
Part tgtPart = KAS_Shared.GetPartByID(
FixedAttach.savedTgtVesselID, FixedAttach.savedTgtPartID);
if (tgtPart) {
KAS_Shared.DebugLog(string.Format(
"OnLoad(Core) Re-set fixed joint on {0}", tgtPart.partInfo.title));
AttachFixed(srcPart, tgtPart, FixedAttach.savedBreakForce);
} else {
KAS_Shared.DebugError(
"OnLoad(Core) Unable to get saved connected part of the fixed joint !");
attachMode.FixedJoint = false;
}
}
}