- Molecule*mol_p = new Molecule (specs_p_->get_atom (paper (), dir_));
- /*
- ugh, staccato dots are not centred between stafflines (how?)?
- */
- Real correct =0.0;
- if (axis_ == Y_AXIS){
- dx = paper ()->note_width ()/2;
- correct = - (Real)dir_ * 2.0 * paper ()->rule_thickness ();
- mol_p->translate_axis (dx, X_AXIS); // FIXME! ugh
- }
+ Direction dir = Side_position_interface::get_direction (me);
+ if (!dir)
+ {
+ programming_error ("Script direction not known, but molecule wanted.");
+ dir= DOWN;
+ }