mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
yeah, make sure to apply things down the tree
This commit is contained in:
parent
2fe7fe3206
commit
9b01837f3e
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user