aStatus = VrmlData_VrmlFormatError;
break;
}
- else if (VRMLDATA_LCOMPARE (theBuffer.LinePtr, "scale")) {
- if (myIsTransform)
- aStatus = Scene().ReadXYZ (theBuffer, aScale,
- Standard_False, Standard_True);
- else {
- aStatus = VrmlData_VrmlFormatError;
- break;
- }
- } else if (VRMLDATA_LCOMPARE (theBuffer.LinePtr, "scaleOrientation"))
+ else if (VRMLDATA_LCOMPARE (theBuffer.LinePtr, "scaleOrientation"))
if (myIsTransform) {
if (OK(aStatus, Scene().ReadXYZ (theBuffer, aScaleAxis,
Standard_False, Standard_False)))
aStatus = VrmlData_VrmlFormatError;
break;
}
+ else if (VRMLDATA_LCOMPARE (theBuffer.LinePtr, "scale"))
+ if (myIsTransform)
+ aStatus = Scene().ReadXYZ (theBuffer, aScale,
+ Standard_False, Standard_True);
+ else {
+ aStatus = VrmlData_VrmlFormatError;
+ break;
+ }
else if (VRMLDATA_LCOMPARE (theBuffer.LinePtr, "translation"))
if (myIsTransform)
aStatus = Scene().ReadXYZ (theBuffer, aTrans,