changeset 13896:5c2096009c43

avoid using invalid value for figure outerposition * graphics.cc (figure::properties::set_position): Pass TRUE to get_boudingbox.
author John W. Eaton <jwe@octave.org>
date Mon, 21 Nov 2011 01:40:24 -0500
parents 2f73cbd951fb
children 1367f2db49a2
files src/graphics.cc
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/graphics.cc	Sun Nov 20 13:19:35 2011 -0800
+++ b/src/graphics.cc	Mon Nov 21 01:40:24 2011 -0500
@@ -3237,9 +3237,9 @@
     {
       Matrix old_bb, new_bb;
 
-      old_bb = get_boundingbox ();
+      old_bb = get_boundingbox (true);
       position.set (v, true, do_notify_toolkit);
-      new_bb = get_boundingbox ();
+      new_bb = get_boundingbox (true);
 
       if (old_bb != new_bb)
         {