Index: lily/multi-measure-rest.cc |
diff --git a/lily/multi-measure-rest.cc b/lily/multi-measure-rest.cc |
index 47718a2fec86d906e0b3ce0adb7211c17f07237b..df06f790dfb00e8f6201682fe3466c22ff0524ee 100644 |
--- a/lily/multi-measure-rest.cc |
+++ b/lily/multi-measure-rest.cc |
@@ -115,6 +115,21 @@ Multi_measure_rest::print (SCM smob) |
return mol.smobbed_copy (); |
} |
+MAKE_SCHEME_CALLBACK (Multi_measure_rest, height, 1); |
+SCM |
+Multi_measure_rest::height (SCM smob) |
+{ |
+ Grob *me = unsmob_grob (smob); |
+ Spanner *sp = dynamic_cast<Spanner *> (me); |
dak
2013/02/19 18:44:03
The compiler complains that sp is not being used h
|
+ |
+ Real space = 1000000; // something very large... |
+ |
+ Stencil mol; |
+ mol.add_stencil (symbol_stencil (me, space)); |
+ |
+ return ly_interval2scm (mol.extent (Y_AXIS)); |
+} |
+ |
int |
calc_closest_duration_log (Grob *me, double duration, bool force_round_up, bool paranoid) |
{ |