Build fix

develop
kaetemi 4 years ago
parent aa7d667b10
commit 257f6a6e23

@ -331,7 +331,11 @@ bool eraseNonPlants()
bool writeFlora()
{
ofstream fo;
#ifdef NL_OS_WINDOWS
fo.open(utf8ToWide(s_PrimitiveFile));
#else
fo.open(s_PrimitiveFile);
#endif
fo << "<?xml version=\"1.0\"?>\n";
fo << "<PRIMITIVES VERSION=\"1\">\n";
fo << " <ROOT_PRIMITIVE TYPE=\"CPrimNode\">\n";

Loading…
Cancel
Save