Mercurial > octave-dspies
diff src/graphics.cc @ 7378:3771971e8891
[project @ 2008-01-15 07:40:23 by jwe]
author | jwe |
---|---|
date | Tue, 15 Jan 2008 07:40:23 +0000 |
parents | f350da755600 |
children | a78c7bccda91 |
line wrap: on
line diff
--- 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;