Skip to content

Commit 407cea2

Browse files
committed
code review fix
- rename ResetTransform function
1 parent 47c4288 commit 407cea2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Assets/FbxExporters/Editor/FbxExporter.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2245,7 +2245,7 @@ protected int ExportTransformHierarchy(
22452245
// Use RSrs as the scaling inheritance instead.
22462246
fbxNode.SetTransformationInheritType (FbxTransform.EInheritType.eInheritRSrs);
22472247

2248-
if (ResetTransform (unityGo.transform)) {
2248+
if (TransformShouldBeReset (unityGo.transform)) {
22492249
exportType = TransformExportType.Reset;
22502250
}
22512251
ExportTransform (unityGo.transform, fbxNode, newCenter, exportType);
@@ -2303,7 +2303,7 @@ protected int ExportTransformHierarchy(
23032303
/// </summary>
23042304
/// <returns><c>true</c>, if transform should be reset, <c>false</c> otherwise.</returns>
23052305
/// <param name="t">Transform.</param>
2306-
private bool ResetTransform(Transform t){
2306+
private bool TransformShouldBeReset(Transform t){
23072307
var source = ExportOptions.AnimationSource;
23082308
var dest = ExportOptions.AnimationDest;
23092309

0 commit comments

Comments
 (0)