Mercurial > octave-nkf
changeset 7830:61aee739a4da
Make sure to initialize axes xform data.
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Sun, 17 Feb 2008 22:27:48 +0100 |
parents | 8ca8e97e8c0a |
children | c7925666f0bf |
files | src/ChangeLog src/graphics.h.in |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Thu Feb 14 12:17:44 2008 +0100 +++ b/src/ChangeLog Sun Feb 17 22:27:48 2008 +0100 @@ -15,6 +15,9 @@ 2008-06-04 Michael Goffioul <michael.goffioul@gmail.com> + * graphics.h.in (axes::axes): Be sure to initialize transformation + data correctly. + * graphics.cc (xget_ancestor): Pass graphics_object argument by value instead of by reference.
--- a/src/graphics.h.in Thu Feb 14 12:17:44 2008 +0100 +++ b/src/graphics.h.in Sun Feb 17 22:27:48 2008 +0100 @@ -2616,6 +2616,7 @@ : base_graphics_object (), xproperties (mh, p), default_properties () { xproperties.override_defaults (*this); + xproperties.update_transform (); } ~axes (void) { xproperties.delete_children (); }