File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Assets/FbxExporters/Editor Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -602,7 +602,7 @@ public static GUIContent[] GetDCCOptions(){
602
602
}
603
603
604
604
// store the selected app
605
- var currentSelection = instance . dccOptionPaths [ instance . selectedDCCApp ] ;
605
+ var prevSelection = instance . dccOptionPaths [ instance . selectedDCCApp ] ;
606
606
607
607
// remove options that no longer exist
608
608
List < string > pathsToDelete = new List < string > ( ) ;
@@ -622,7 +622,7 @@ public static GUIContent[] GetDCCOptions(){
622
622
}
623
623
624
624
// set the selected DCC app to the previous selection
625
- instance . selectedDCCApp = instance . dccOptionPaths . IndexOf ( currentSelection ) ;
625
+ instance . selectedDCCApp = instance . dccOptionPaths . IndexOf ( prevSelection ) ;
626
626
if ( instance . selectedDCCApp < 0 ) {
627
627
// find preferred app if previous selection no longer exists
628
628
instance . selectedDCCApp = instance . GetPreferredDCCApp ( ) ;
You can’t perform that action at this time.
0 commit comments