Skip to content

Commit d207a19

Browse files
committed
rename variable
1 parent 71c8707 commit d207a19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Assets/FbxExporters/Editor/FbxExportSettings.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ public static GUIContent[] GetDCCOptions(){
602602
}
603603

604604
// store the selected app
605-
var currentSelection = instance.dccOptionPaths[instance.selectedDCCApp];
605+
var prevSelection = instance.dccOptionPaths[instance.selectedDCCApp];
606606

607607
// remove options that no longer exist
608608
List<string> pathsToDelete = new List<string>();
@@ -622,7 +622,7 @@ public static GUIContent[] GetDCCOptions(){
622622
}
623623

624624
// set the selected DCC app to the previous selection
625-
instance.selectedDCCApp = instance.dccOptionPaths.IndexOf (currentSelection);
625+
instance.selectedDCCApp = instance.dccOptionPaths.IndexOf (prevSelection);
626626
if (instance.selectedDCCApp < 0) {
627627
// find preferred app if previous selection no longer exists
628628
instance.selectedDCCApp = instance.GetPreferredDCCApp ();

0 commit comments

Comments
 (0)