Jump to content

[SOLVED] WidgetSpriteNode and WidgetSpriteViewport setTextureHeight


photo

Recommended Posts

Hello,

 

I discovered a typo on WidgetSpriteNode and WidgetSpriteViewport setTextureHeight method.

 

void WidgetSpriteNode::setTextureHeight(int width) {
texture_height = height;
clear_textures();
}

Should be

 

void WidgetSpriteNode::setTextureHeight(int height) {
texture_height = height;
clear_textures();
}

Link to comment
×
×
  • Create New...