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 diff
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -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
+++ 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 (); }