Fixed the scaling in pixelSize computation and the autoscale usage of it.
This commit is contained in:
@@ -153,7 +153,7 @@ void AutoTransform::accept(NodeVisitor& nv)
|
||||
|
||||
if (getAutoScaleToScreen())
|
||||
{
|
||||
float size = 1.0f/cs->pixelSize(getPosition(),1.0f);
|
||||
float size = 1.0f/cs->pixelSize(getPosition(),0.48f);
|
||||
setScale(size);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user