Skip to content

Commit c7b25f4

Browse files
author
AJubrey
committed
[REMOVED] a white space
[FIXED] an incorrect variable assignment
1 parent 3d49f0a commit c7b25f4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Assets/FbxExporters/Editor/FbxExporter.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,6 @@ protected void ExportTransform (UnityEngine.Transform unityTransform, FbxNode fb
683683
FbxDouble3 fbxRotate;
684684
UnityEngine.Vector3 unityScale;
685685

686-
687686
switch (exportType) {
688687
case TransformExportType.Reset:
689688
unityTranslate = Vector3.zero;

Assets/FbxExporters/Editor/FbxPrefabAutoUpdater.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1007,8 +1007,8 @@ public HashSet<GameObject> ImplementUpdates(FbxPrefab prefabInstance)
10071007
UnityEditor.EditorJsonUtility.FromJsonOverwrite(fbxComponent.jsonValue, tempTransform);
10081008

10091009
var rectTransform = prefabComponent as RectTransform;
1010-
rectTransform.localRotation = tempTransform.rotation;
1011-
rectTransform.localPosition = tempTransform.position;
1010+
rectTransform.localRotation = tempTransform.localRotation;
1011+
rectTransform.localPosition = tempTransform.localPosition;
10121012
rectTransform.localScale = tempTransform.localScale;
10131013
}
10141014
finally

0 commit comments

Comments
 (0)