- if (octmol){
- Real dy =lastoct*7*paper()->internote_f();
- octmol->translate( dy, Y_AXIS);
- output->add(*octmol);
- delete octmol;
+ if (octave_mol_p)
+ {
+ Real dy =lastoct*7*paper()->internote_f ();
+ octave_mol_p->translate_axis (dy, Y_AXIS);
+ output->add_molecule (*octave_mol_p);
+ delete octave_mol_p;
+ }
+
+ if (accs.size())
+ {
+ Box b(Interval (0, paper()->internote_f ()), Interval (0,0));
+ Molecule m (lookup_l ()->fill (b));
+ output->add_at_edge (X_AXIS, RIGHT, m);