Fixed the scaling in pixelSize computation and the autoscale usage of it.

This commit is contained in:
Robert Osfield
2005-03-23 10:46:08 +00:00
parent a61a99251f
commit 60597f4bbb
2 changed files with 2 additions and 2 deletions

View File

@@ -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);
}