From 17fc2fec8a25fc1747ac8fb1cdeeaaa761e03766 Mon Sep 17 00:00:00 2001 From: David Rose Date: Fri, 9 Mar 2001 19:04:16 +0000 Subject: [PATCH] *** empty log message *** --- panda/src/gui/guiLabel.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/panda/src/gui/guiLabel.cxx b/panda/src/gui/guiLabel.cxx index 32cb448f8e..89b2dc5959 100644 --- a/panda/src/gui/guiLabel.cxx +++ b/panda/src/gui/guiLabel.cxx @@ -280,8 +280,8 @@ GuiLabel* GuiLabel::make_model_label(Node* geom, float left, float right, GuiLabel* ret = new GuiLabel(); ret->_type = MODEL; ret->_geom = new NamedNode("GUI label"); - ret->_model_pos = LVector3f::rfu((left - right) * 0.5, 0., - (bottom - top) * 0.5); + ret->_model_pos = LVector3f::rfu(-(left + right) * 0.5, 0., + -(bottom + top) * 0.5); ret->_model_width = right - left; ret->_model_height = top - bottom; ret->_internal = new RenderRelation(ret->_geom, geom);