]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/score.cc
* lily/ly-module.cc (LY_DEFINE): bugfix.
[lilypond.git] / lily / score.cc
index d3bc525fc167edcc53a45cf16bdfe04f5f7c8a74..7757b6a37d5bec7ae773893733116e4e6e27b7e0 100644 (file)
@@ -244,17 +244,18 @@ Score::book_rendering (String outname,
          scaled = def->self_scm ();
          scm_gc_unprotect_object (scaled);
        }
+
+      /*
+       TODO: fix or junk --no-paper.
+       */
       
-      if (!(no_paper_global_b && dynamic_cast<Output_def*> (def)))
+      SCM context = ly_run_translator (music_, def->self_scm ());
+      if (dynamic_cast<Global_context*> (unsmob_context (context)))
        {
-         SCM context = ly_run_translator (music_, def->self_scm ());
-         if (dynamic_cast<Global_context*> (unsmob_context (context)))
+         SCM s = ly_format_output (context, out);
+         if (s != SCM_UNDEFINED)
            {
-             SCM s = ly_format_output (context, out);
-             if (s != SCM_UNDEFINED)
-               {
-                 systems = s;
-               }
+             systems = s;
            }
        }