From 9b01837f3e192c8e37f6b61326a4e6ff38d56a0e Mon Sep 17 00:00:00 2001 From: Cary Sandvig Date: Wed, 11 Apr 2001 20:23:31 +0000 Subject: [PATCH] yeah, make sure to apply things down the tree --- panda/src/gui/guiChooser.cxx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/panda/src/gui/guiChooser.cxx b/panda/src/gui/guiChooser.cxx index 9534fad781..92c7b36fd9 100644 --- a/panda/src/gui/guiChooser.cxx +++ b/panda/src/gui/guiChooser.cxx @@ -235,14 +235,20 @@ void GuiChooser::unmanage(void) { } void GuiChooser::set_scale(float f) { + for (ItemVector::iterator i=_items.begin(); i!=_items.end(); ++i) + (*i)->set_scale(f); GuiBehavior::set_scale(f); } void GuiChooser::set_scale(float x, float y, float z) { + for (ItemVector::iterator i=_items.begin(); i!=_items.end(); ++i) + (*i)->set_scale(x, y, z); GuiBehavior::set_scale(x, y, z); } void GuiChooser::set_pos(const LVector3f& p) { + for (ItemVector::iterator i=_items.begin(); i!=_items.end(); ++i) + (*i)->set_pos(p); GuiBehavior::set_pos(p); }