diff --git a/src/pab/pab.ts b/src/pab/pab.ts index 166daefea7ab23d770cf346355e623fda73ac448..4833c18e2a27677abe2904879ec45c527edd02b0 100644 --- a/src/pab/pab.ts +++ b/src/pab/pab.ts @@ -95,14 +95,11 @@ export class Pab extends Nub { if (c.props.calcType === CalculatorType.PabCloisons) { // who knows ? const childUid = c.uid; const targetCloisonsUid = c.props.modeleCloisons; - console.log(`==> relinking ${childUid} to ${targetCloisonsUid}`); // find child PabCloisons to relink const pabCloisons = (this.getChild(childUid) as PabCloisons); if (pabCloisons) { pabCloisons.setModel(targetCloisonsUid); - } else { - console.error("fixPAB : cannot find child PabCloisons"); - } + } // else cannot find target } } } diff --git a/src/pab/pab_cloisons.ts b/src/pab/pab_cloisons.ts index 4328f9306f5b32c9d68f9d1bd3f39b415840234f..c5758365c75826fa0da60a1f058fee7f4f20c6ec 100644 --- a/src/pab/pab_cloisons.ts +++ b/src/pab/pab_cloisons.ts @@ -104,9 +104,9 @@ export class PabCloisons extends Cloisons { const cloisons = (Session.getInstance().findNubByUid(modelUid) as Cloisons); if (cloisons) { this.initModelCloisons(cloisons); - } else { + } /* else { console.error("PabCloisons.setModel : cannot find target Cloisons"); - } + } */ } /**