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 @@ -627,7 +627,7 @@ public static int InstallMaxPlugin(string maxExe){
627
627
myProcess . StartInfo . WindowStyle = System . Diagnostics . ProcessWindowStyle . Hidden ;
628
628
myProcess . StartInfo . CreateNoWindow = true ;
629
629
myProcess . StartInfo . UseShellExecute = false ;
630
- myProcess . StartInfo . RedirectStandardError = true ;
630
+ myProcess . StartInfo . RedirectStandardOutput = true ;
631
631
632
632
myProcess . StartInfo . Arguments = string . Format ( "-q -silent -mxs \" {0}\" " , installScript ) ;
633
633
@@ -649,7 +649,7 @@ public static int InstallMaxPlugin(string maxExe){
649
649
650
650
// print any errors
651
651
if ( ExitCode != 0 ) {
652
- string stderr = myProcess . StandardError . ReadToEnd ( ) ;
652
+ string stderr = myProcess . StandardOutput . ReadToEnd ( ) ;
653
653
if ( ! string . IsNullOrEmpty ( stderr ) ) {
654
654
Debug . LogError ( string . Format ( "3ds Max installation error (exit code: {0}): {1}" , ExitCode , stderr ) ) ;
655
655
}
You can’t perform that action at this time.
0 commit comments