From 24b608cacb93040f795d508299de98bcc5f89ee5 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 5 Aug 2008 10:20:20 +0000 Subject: [PATCH] Added support for both the old autoScaleTransistionWidthRatio (note typo) and newly fixed autoScaleTransitionWidthRatio in the .osg parsing --- src/osgPlugins/osg/AutoTransform.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/osgPlugins/osg/AutoTransform.cpp b/src/osgPlugins/osg/AutoTransform.cpp index f368c8f66..f37cb663c 100644 --- a/src/osgPlugins/osg/AutoTransform.cpp +++ b/src/osgPlugins/osg/AutoTransform.cpp @@ -140,7 +140,8 @@ bool AutoTransform_readLocalData(Object& obj, Input& fr) iteratorAdvanced = true; } - if (fr.matchSequence("autoScaleTransistionWidthRatio %f")) + if (fr.matchSequence("autoScaleTransistionWidthRatio %f") || + fr.matchSequence("autoScaleTransitionWidthRatio %f")) { float ratio; fr[1].getFloat(ratio);