File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -569,7 +569,10 @@ int main(int argc, char** argv) {
569569
570570#ifdef _MSC_VER
571571 if (output_extension == DAE || output_extension == STP || output_extension == IGS) {
572- // These serializers do not support opening unicode paths on Windows. Therefore
572+ #else
573+ if (output_extension == DAE) {
574+ #endif
575+ // These serializers do not support opening unicode paths. Therefore
573576 // a random temp file is generated using only ASCII characters instead.
574577 std::random_device rng;
575578 std::uniform_int_distribution<int > index_dist (L' A' , L' Z' );
@@ -579,7 +582,6 @@ int main(int argc, char** argv) {
579582 }
580583 output_temp_filename += L" .tmp" ;
581584 }
582- #endif
583585
584586 SerializerSettings settings;
585587 // / @todo Make APPLY_DEFAULT_MATERIALS configurable? Quickly tested setting this to false and using obj exporter caused the program to crash and burn.
You can’t perform that action at this time.
0 commit comments