Fix default value for ScaleImage in CGUIImage::deserializeAttributes.
Thanks @chronologicaldot for the report: http://irrlicht.sourceforge.net/forum/viewtopic.php?f=7&t=52405 git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5655 dfc29bdd-3216-0410-991c-e03cc46cb475master
parent
57949584ed
commit
0ec5f98831
|
@ -200,7 +200,7 @@ void CGUIImage::deserializeAttributes(io::IAttributes* in, io::SAttributeReadWri
|
|||
setImage(in->getAttributeAsTexture("Texture", Texture));
|
||||
setUseAlphaChannel(in->getAttributeAsBool("UseAlphaChannel", UseAlphaChannel));
|
||||
setColor(in->getAttributeAsColor("Color", Color));
|
||||
setScaleImage(in->getAttributeAsBool("ScaleImage", UseAlphaChannel));
|
||||
setScaleImage(in->getAttributeAsBool("ScaleImage", ScaleImage));
|
||||
setSourceRect(in->getAttributeAsRect("SourceRect", SourceRect));
|
||||
|
||||
DrawBounds.UpperLeftCorner.X = in->getAttributeAsFloat("DrawBoundsX1", DrawBounds.UpperLeftCorner.X);
|
||||
|
|
Loading…
Reference in New Issue