File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
Assets/FbxExporters/Editor Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,6 @@ public override void OnInspectorGUI() {
96
96
// dropdown to select Maya version to use
97
97
var options = ExportSettings . GetDCCOptions ( ) ;
98
98
99
- int oldValue = exportSettings . selectedDCCApp ;
100
99
exportSettings . selectedDCCApp = EditorGUILayout . Popup ( exportSettings . selectedDCCApp , options ) ;
101
100
if ( GUILayout . Button ( "Browse" , EditorStyles . miniButton , GUILayout . Width ( BrowseButtonWidth ) ) ) {
102
101
var ext = "" ;
@@ -124,7 +123,6 @@ public override void OnInspectorGUI() {
124
123
// Therefore check both executable folder (for Mac) and its parent (for Windows)
125
124
if ( md . Name . ToLower ( ) . StartsWith ( "mayalt" ) || md . Parent . Name . ToLower ( ) . StartsWith ( "mayalt" ) ) {
126
125
Debug . LogError ( string . Format ( "Unity Integration does not support Maya LT: \" {0}\" " , md . FullName ) ) ;
127
- exportSettings . selectedDCCApp = oldValue ;
128
126
return ;
129
127
}
130
128
@@ -138,7 +136,6 @@ public override void OnInspectorGUI() {
138
136
}
139
137
if ( foundDCCPath == null ) {
140
138
Debug . LogError ( string . Format ( "Could not find supported 3D application at: \" {0}\" " , Path . GetDirectoryName ( dccPath ) ) ) ;
141
- exportSettings . selectedDCCApp = oldValue ;
142
139
} else {
143
140
dccPath = foundDCCPath ;
144
141
ExportSettings . AddDCCOption ( dccPath , foundDCC ) ;
You can’t perform that action at this time.
0 commit comments