# HG changeset patch # User jwe # Date 1200382823 0 # Node ID 3771971e88918364925d10b7c102c88427e8edaf # Parent 46b58515067d9bd8fe81a72ddc2c33c041e21aa1 [project @ 2008-01-15 07:40:23 by jwe] diff -r 46b58515067d -r 3771971e8891 src/ChangeLog --- a/src/ChangeLog Tue Jan 15 06:57:15 2008 +0000 +++ b/src/ChangeLog Tue Jan 15 07:40:23 2008 +0000 @@ -1,3 +1,11 @@ +2008-01-15 John W. Eaton + + * graphics.cc (properties::set_currentfigure, + properties::set_currentaxes): Don't convert arg to double + before passing to graphics_handle constructor. + (base_properties::remove_child): Call mark_modified if list of + children changes. + 2008-01-15 Shai Ayal * graphics.h.in (class line::properties): New properties: diff -r 46b58515067d -r 3771971e8891 src/graphics.cc --- a/src/graphics.cc Tue Jan 15 06:57:15 2008 +0000 +++ b/src/graphics.cc Tue Jan 15 07:40:23 2008 +0000 @@ -1070,6 +1070,7 @@ new_kids(j++) = children(i); } children = new_kids; + mark_modified (); } } @@ -1145,7 +1146,7 @@ void root_figure::properties::set_currentfigure (const octave_value& v) { - graphics_handle val (v.double_value ()); + graphics_handle val (v); if (error_state) return; @@ -1168,7 +1169,7 @@ void figure::properties::set_currentaxes (const octave_value& v) { - graphics_handle val (v.double_value ()); + graphics_handle val (v); if (error_state) return;