# HG changeset patch # User Michael Goffioul # Date 1203283668 -3600 # Node ID 61aee739a4da03f4064cd947b3b5812332467b77 # Parent 8ca8e97e8c0aef9132d581b74c67634ef2a2742c Make sure to initialize axes xform data. diff --git a/src/ChangeLog b/src/ChangeLog --- a/src/ChangeLog +++ b/src/ChangeLog @@ -15,6 +15,9 @@ 2008-06-04 Michael Goffioul + * 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. diff --git a/src/graphics.h.in b/src/graphics.h.in --- a/src/graphics.h.in +++ b/src/graphics.h.in @@ -2616,6 +2616,7 @@ : base_graphics_object (), xproperties (mh, p), default_properties () { xproperties.override_defaults (*this); + xproperties.update_transform (); } ~axes (void) { xproperties.delete_children (); }