]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/staff-symbol-referencer.cc
* lily/staff-symbol-referencer.cc (get_position): emergency
[lilypond.git] / lily / staff-symbol-referencer.cc
index 629d796ceedb79b4fe5c9ae37a5c54744159b829..9fbe6f8b4387c9f8838f4bcea2006447d9d9bd54 100644 (file)
@@ -80,7 +80,10 @@ Staff_symbol_referencer::get_position (Grob *me)
       p += 2.0 * y / Staff_symbol::staff_space (st);
       return p;
     }
-
+  else if (!st)
+    {
+      return me->relative_coordinate (me->get_parent (Y_AXIS), Y_AXIS) * 2;
+    }
   return robust_scm2double (me->get_property ("staff-position"), p);
 }