Explorar el Código

return a value

Cary Sandvig hace 25 años
padre
commit
62dafaaa17
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      panda/src/gui/guiLabel.cxx

+ 1 - 0
panda/src/gui/guiLabel.cxx

@@ -88,6 +88,7 @@ GuiLabel* GuiLabel::make_simple_texture_label(Texture* texture) {
   uvs.push_back(TexCoordf(1., 0.));
   uvs.push_back(TexCoordf(1., 0.));
   geoset->set_texcoords(uvs, G_PER_VERTEX);
   geoset->set_texcoords(uvs, G_PER_VERTEX);
   n2->add_geom(geoset);
   n2->add_geom(geoset);
+  return ret;
 }
 }
 
 
 GuiLabel* GuiLabel::make_simple_text_label(const string& text, Node* font) {
 GuiLabel* GuiLabel::make_simple_text_label(const string& text, Node* font) {