Mercurial > hg > octave-terminal
changeset 7378:3771971e8891
[project @ 2008-01-15 07:40:23 by jwe]
author | jwe |
---|---|
date | Tue, 15 Jan 2008 07:40:23 +0000 |
parents | 46b58515067d |
children | a78c7bccda91 |
files | src/ChangeLog src/graphics.cc |
diffstat | 2 files changed, 11 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,11 @@ +2008-01-15 John W. Eaton <jwe@octave.org> + + * 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 <shaiay@users.sourceforge.net> * graphics.h.in (class line::properties): New properties:
--- a/src/graphics.cc +++ b/src/graphics.cc @@ -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;