diff options
author | Han-Wen Nienhuys <hanwen@xs4all.nl> | 2000-05-29 00:12:41 +0200 |
---|---|---|
committer | Han-Wen Nienhuys <hanwen@xs4all.nl> | 2000-05-29 00:12:41 +0200 |
commit | b0064942493df77833e6e41e05d362850f4874b0 (patch) | |
tree | bcd020c0471124a678c62791188f9aa072beacb4 /lily/item.cc | |
parent | 910faf0de802844cdafde781ce42af71986297bc (diff) |
release: 1.3.56
===========
* Molecules are now generated via callbacks exclusively; most calls to
set_elt_property ("transparent) have been replaced by suicide().
1.3.54.h
Diffstat (limited to 'lily/item.cc')
-rw-r--r-- | lily/item.cc | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lily/item.cc b/lily/item.cc index ea8fde5d84..f601a947dd 100644 --- a/lily/item.cc +++ b/lily/item.cc @@ -17,7 +17,6 @@ Item::Item (SCM s) : Score_element (s) - { broken_to_drul_[LEFT] = broken_to_drul_[RIGHT]=0; } @@ -155,13 +154,16 @@ Item::handle_prebroken_dependencies () SCM result = gh_apply (vis, args); bool trans = gh_scm2bool (gh_car (result)); bool empty = gh_scm2bool (gh_cdr (result)); - - if (empty) + + if (empty && trans) + suicide (); + else if (empty) { set_extent_callback (0, X_AXIS); set_extent_callback (0, Y_AXIS); } - if (trans) - set_elt_property ("transparent", SCM_BOOL_T); + else if (trans) + set_elt_property ("molecule-callback", SCM_BOOL_T); } } + |