Merged in shubham_meena/ryzomcore (pull request #70)
Adding comments with more description and removed doxygen errors
This commit is contained in:
commit
78894a03b5
26 changed files with 106 additions and 7 deletions
|
@ -232,6 +232,9 @@ private:
|
||||||
|
|
||||||
// If not NULL, binary mode detected, use this stream in serials
|
// If not NULL, binary mode detected, use this stream in serials
|
||||||
IStream *_BinaryStream;
|
IStream *_BinaryStream;
|
||||||
|
|
||||||
|
// System dependant structure for locale
|
||||||
|
void* _Locale;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -408,6 +408,12 @@ void CInstanceLighter::light (const CInstanceGroup &igIn, CInstanceGroup &igOut,
|
||||||
string name= _Instances[i].Name;
|
string name= _Instances[i].Name;
|
||||||
bool shapeFound= true;
|
bool shapeFound= true;
|
||||||
|
|
||||||
|
if (toLower (CFile::getExtension (name)) == "pacs_prim")
|
||||||
|
{
|
||||||
|
nlwarning("EXPORT BUG: Can't read %s (not a shape), should not be part of .ig!", name.c_str());
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// Try to find the shape in the UseShapeMap.
|
// Try to find the shape in the UseShapeMap.
|
||||||
std::map<string, IShape*>::const_iterator iteMap= lightDesc.UserShapeMap.find (name);
|
std::map<string, IShape*>::const_iterator iteMap= lightDesc.UserShapeMap.find (name);
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,11 @@
|
||||||
// Include from libxml2
|
// Include from libxml2
|
||||||
#include <libxml/xmlerror.h>
|
#include <libxml/xmlerror.h>
|
||||||
|
|
||||||
|
#if defined(NL_OS_WINDOWS) && defined(NL_COMP_VC_VERSION) && NL_COMP_VC_VERSION >= 80
|
||||||
|
#define USE_LOCALE_ATOF
|
||||||
|
#include <locale.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
#define NLMISC_READ_BUFFER_SIZE 1024
|
#define NLMISC_READ_BUFFER_SIZE 1024
|
||||||
|
@ -46,6 +51,22 @@ const char SEPARATOR = ' ';
|
||||||
serialSeparatedBufferIn( number_as_string ); \
|
serialSeparatedBufferIn( number_as_string ); \
|
||||||
dest = (thetype)convfunc( number_as_string.c_str() );
|
dest = (thetype)convfunc( number_as_string.c_str() );
|
||||||
|
|
||||||
|
#ifdef USE_LOCALE_ATOF
|
||||||
|
|
||||||
|
#define readnumberlocale(dest,thetype,digits,convfunc) \
|
||||||
|
string number_as_string; \
|
||||||
|
serialSeparatedBufferIn( number_as_string ); \
|
||||||
|
dest = (thetype)convfunc( number_as_string.c_str(), (_locale_t)_Locale );
|
||||||
|
|
||||||
|
#define nl_atof _atof_l
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
#define readnumberlocale(dest,thetype,digits,convfunc) readnumber(dest,thetype,digits,convfunc)
|
||||||
|
#define nl_atof atof
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
// ***************************************************************************
|
// ***************************************************************************
|
||||||
|
|
||||||
inline void CIXml::flushContentString ()
|
inline void CIXml::flushContentString ()
|
||||||
|
@ -70,6 +91,13 @@ CIXml::CIXml () : IStream (true /* Input mode */)
|
||||||
_ErrorString = "";
|
_ErrorString = "";
|
||||||
_TryBinaryMode = false;
|
_TryBinaryMode = false;
|
||||||
_BinaryStream = NULL;
|
_BinaryStream = NULL;
|
||||||
|
|
||||||
|
#ifdef USE_LOCALE_ATOF
|
||||||
|
// create C numeric locale
|
||||||
|
_Locale = _create_locale(LC_NUMERIC, "C");
|
||||||
|
#else
|
||||||
|
_Locale = NULL;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
// ***************************************************************************
|
// ***************************************************************************
|
||||||
|
@ -85,6 +113,13 @@ CIXml::CIXml (bool tryBinaryMode) : IStream (true /* Input mode */)
|
||||||
_ErrorString = "";
|
_ErrorString = "";
|
||||||
_TryBinaryMode = tryBinaryMode;
|
_TryBinaryMode = tryBinaryMode;
|
||||||
_BinaryStream = NULL;
|
_BinaryStream = NULL;
|
||||||
|
|
||||||
|
#ifdef USE_LOCALE_ATOF
|
||||||
|
// create C numeric locale
|
||||||
|
_Locale = _create_locale(LC_NUMERIC, "C");
|
||||||
|
#else
|
||||||
|
_Locale = NULL;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
// ***************************************************************************
|
// ***************************************************************************
|
||||||
|
@ -93,6 +128,10 @@ CIXml::~CIXml ()
|
||||||
{
|
{
|
||||||
// Release
|
// Release
|
||||||
release ();
|
release ();
|
||||||
|
|
||||||
|
#ifdef USE_LOCALE_ATOF
|
||||||
|
if (_Locale) _free_locale((_locale_t)_Locale);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
// ***************************************************************************
|
// ***************************************************************************
|
||||||
|
@ -546,7 +585,7 @@ void CIXml::serial(float &b)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
readnumber( b, float, 128, atof );
|
readnumberlocale( b, float, 128, nl_atof );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -560,7 +599,7 @@ void CIXml::serial(double &b)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
readnumber( b, double, 128, atof );
|
readnumberlocale( b, double, 128, nl_atof );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -167,6 +167,12 @@ void CIgLighterLib::lightIg(CInstanceLighter &instanceLighter,
|
||||||
string name= igIn.getShapeName(i);
|
string name= igIn.getShapeName(i);
|
||||||
bool shapeFound= true;
|
bool shapeFound= true;
|
||||||
|
|
||||||
|
if (toLower (CFile::getExtension (name)) == "pacs_prim")
|
||||||
|
{
|
||||||
|
nlwarning("EXPORT BUG: Can't read %s (not a shape), should not be part of .ig!", name.c_str());
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// Try to find the shape in the UseShapeMap.
|
// Try to find the shape in the UseShapeMap.
|
||||||
std::map<string, IShape*>::const_iterator iteMap= lightDesc.UserShapeMap.find (name);
|
std::map<string, IShape*>::const_iterator iteMap= lightDesc.UserShapeMap.find (name);
|
||||||
|
|
||||||
|
|
|
@ -410,6 +410,12 @@ int main(int argc, char* argv[])
|
||||||
if(group->getInstance(instance).DontCastShadow || group->getInstance(instance).DontCastShadowForExterior)
|
if(group->getInstance(instance).DontCastShadow || group->getInstance(instance).DontCastShadowForExterior)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
if (toLower (CFile::getExtension (name)) == "pacs_prim")
|
||||||
|
{
|
||||||
|
nlwarning("EXPORT BUG: Can't read %s (not a shape), should not be part of .ig!", name.c_str());
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// Add a .shape at the end ?
|
// Add a .shape at the end ?
|
||||||
if (!name.empty())
|
if (!name.empty())
|
||||||
{
|
{
|
||||||
|
|
|
@ -202,7 +202,7 @@ static void loadIGFromContinent(NLMISC::CConfigFile ¶meter, std::list<CInsta
|
||||||
// Load the form
|
// Load the form
|
||||||
NLGEORGES::UFormLoader *loader = NLGEORGES::UFormLoader::createLoader();
|
NLGEORGES::UFormLoader *loader = NLGEORGES::UFormLoader::createLoader();
|
||||||
//
|
//
|
||||||
std::string pathName = level_design_world_directory.asString() + "/" + continentName;
|
std::string pathName = CPath::lookup(continentName); // level_design_world_directory.asString() + "/" + continentName;
|
||||||
if (pathName.empty())
|
if (pathName.empty())
|
||||||
{
|
{
|
||||||
nlwarning("Can't find continent form : %s", continentName.c_str());
|
nlwarning("Can't find continent form : %s", continentName.c_str());
|
||||||
|
@ -699,6 +699,12 @@ int main(int argc, char* argv[])
|
||||||
if(group->getInstance(instance).DontCastShadow || group->getInstance(instance).DontCastShadowForExterior)
|
if(group->getInstance(instance).DontCastShadow || group->getInstance(instance).DontCastShadowForExterior)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
if (toLower (CFile::getExtension (name)) == "pacs_prim")
|
||||||
|
{
|
||||||
|
nlwarning("EXPORT BUG: Can't read %s (not a shape), should not be part of .ig!", name.c_str());
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// PS ?
|
// PS ?
|
||||||
if (toLower (CFile::getExtension (name)) == "ps")
|
if (toLower (CFile::getExtension (name)) == "ps")
|
||||||
continue;
|
continue;
|
||||||
|
|
9
code/nel/tools/build_gamedata/all_install_dev.bat
Normal file
9
code/nel/tools/build_gamedata/all_install_dev.bat
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
title Ryzom Core: 3_install.py
|
||||||
|
3_install.py
|
||||||
|
title Ryzom Core: a1_worldedit_data.py
|
||||||
|
a1_worldedit_data.py
|
||||||
|
title Ryzom Core: b1_client_dev.py
|
||||||
|
b1_client_dev.py
|
||||||
|
title Ryzom Core: b2_shard_data.py
|
||||||
|
b2_shard_data.py
|
||||||
|
title Ryzom Core: Ready
|
|
@ -56,6 +56,7 @@ fn runNelMaxExport inputMaxFile =
|
||||||
|
|
||||||
-- unselect
|
-- unselect
|
||||||
max select none
|
max select none
|
||||||
|
clearSelection()
|
||||||
|
|
||||||
-- Exported object count
|
-- Exported object count
|
||||||
exported = 0
|
exported = 0
|
||||||
|
|
|
@ -36,6 +36,7 @@ fn runNelMaxExport inputMaxFile =
|
||||||
|
|
||||||
-- Select all collision mesh
|
-- Select all collision mesh
|
||||||
max select none
|
max select none
|
||||||
|
clearSelection()
|
||||||
for m in geometry do
|
for m in geometry do
|
||||||
(
|
(
|
||||||
if (isToBeExported m) == true then
|
if (isToBeExported m) == true then
|
||||||
|
|
|
@ -61,6 +61,7 @@ fn runNelMaxExport inputMaxFile =
|
||||||
|
|
||||||
-- unselect
|
-- unselect
|
||||||
max select none
|
max select none
|
||||||
|
clearSelection()
|
||||||
|
|
||||||
-- Exported object count
|
-- Exported object count
|
||||||
exported = 0
|
exported = 0
|
||||||
|
@ -109,6 +110,7 @@ fn runNelMaxExport inputMaxFile =
|
||||||
(
|
(
|
||||||
-- Select none
|
-- Select none
|
||||||
max select none
|
max select none
|
||||||
|
clearSelection()
|
||||||
|
|
||||||
-- Select all node in this ig
|
-- Select all node in this ig
|
||||||
for node in geometry do
|
for node in geometry do
|
||||||
|
|
|
@ -10,6 +10,7 @@ fn runNelMaxExport inputMaxFile =
|
||||||
|
|
||||||
-- Select none
|
-- Select none
|
||||||
max select none
|
max select none
|
||||||
|
clearSelection()
|
||||||
|
|
||||||
-- Select all PACS primitives
|
-- Select all PACS primitives
|
||||||
for i in geometry do
|
for i in geometry do
|
||||||
|
|
|
@ -199,6 +199,7 @@ fn runNelMaxExportSub inputMaxFile retryCount =
|
||||||
|
|
||||||
-- unselect
|
-- unselect
|
||||||
max select none
|
max select none
|
||||||
|
clearSelection()
|
||||||
|
|
||||||
-- Exported object count
|
-- Exported object count
|
||||||
exported = 0
|
exported = 0
|
||||||
|
|
|
@ -46,6 +46,7 @@ fn runNelMaxExport inputMaxFile =
|
||||||
|
|
||||||
-- unselect
|
-- unselect
|
||||||
max select none
|
max select none
|
||||||
|
clearSelection()
|
||||||
|
|
||||||
-- Exported object count
|
-- Exported object count
|
||||||
exported = 0
|
exported = 0
|
||||||
|
|
|
@ -40,6 +40,7 @@ fn runNelMaxExport inputMaxFile =
|
||||||
|
|
||||||
-- Select none
|
-- Select none
|
||||||
max select none
|
max select none
|
||||||
|
clearSelection()
|
||||||
|
|
||||||
-- Found it ?
|
-- Found it ?
|
||||||
find = false
|
find = false
|
||||||
|
|
|
@ -122,6 +122,7 @@ fn runNelMaxExport inputMaxFile =
|
||||||
|
|
||||||
-- unselect
|
-- unselect
|
||||||
max select none
|
max select none
|
||||||
|
clearSelection()
|
||||||
|
|
||||||
-- Exported object count
|
-- Exported object count
|
||||||
exported = 0
|
exported = 0
|
||||||
|
|
|
@ -127,6 +127,7 @@ fn runNelMaxExport inputMaxFile =
|
||||||
|
|
||||||
-- unselect
|
-- unselect
|
||||||
max select none
|
max select none
|
||||||
|
clearSelection()
|
||||||
|
|
||||||
-- Exported object count
|
-- Exported object count
|
||||||
exported = 0
|
exported = 0
|
||||||
|
@ -175,6 +176,7 @@ fn runNelMaxExport inputMaxFile =
|
||||||
(
|
(
|
||||||
-- Select none
|
-- Select none
|
||||||
max select none
|
max select none
|
||||||
|
clearSelection()
|
||||||
|
|
||||||
-- Select all node in this ig
|
-- Select all node in this ig
|
||||||
for node in geometry do
|
for node in geometry do
|
||||||
|
|
|
@ -228,6 +228,7 @@ fn exportCollisionsFromZone outputNelDir filename =
|
||||||
(
|
(
|
||||||
-- Select all collision mesh
|
-- Select all collision mesh
|
||||||
max select none
|
max select none
|
||||||
|
clearSelection()
|
||||||
for m in geometry do
|
for m in geometry do
|
||||||
(
|
(
|
||||||
if (isToBeExportedCollision m) == true then
|
if (isToBeExportedCollision m) == true then
|
||||||
|
@ -311,6 +312,7 @@ fn exportInstanceGroupFromZone inputFile outputPath igName transitionZone cellSi
|
||||||
|
|
||||||
-- unselect
|
-- unselect
|
||||||
max select none
|
max select none
|
||||||
|
clearSelection()
|
||||||
|
|
||||||
-- Exported object count
|
-- Exported object count
|
||||||
exported = 0
|
exported = 0
|
||||||
|
@ -372,6 +374,7 @@ fn exportInstanceGroupFromZone inputFile outputPath igName transitionZone cellSi
|
||||||
(
|
(
|
||||||
-- Select none
|
-- Select none
|
||||||
max select none
|
max select none
|
||||||
|
clearSelection()
|
||||||
|
|
||||||
for node in objects where classOf node == XRefObject do
|
for node in objects where classOf node == XRefObject do
|
||||||
(
|
(
|
||||||
|
|
|
@ -76,6 +76,7 @@ fn runNelMaxExport inputMaxFile =
|
||||||
|
|
||||||
-- Select none
|
-- Select none
|
||||||
max select none
|
max select none
|
||||||
|
clearSelection()
|
||||||
|
|
||||||
-- Select all PACS primitives
|
-- Select all PACS primitives
|
||||||
for i in geometry do
|
for i in geometry do
|
||||||
|
|
|
@ -102,6 +102,7 @@ fn runNelMaxExport inputMaxFile =
|
||||||
|
|
||||||
-- Select all collision mesh
|
-- Select all collision mesh
|
||||||
max select none
|
max select none
|
||||||
|
clearSelection()
|
||||||
for m in geometry do
|
for m in geometry do
|
||||||
(
|
(
|
||||||
if (isToBeExported m) == true then
|
if (isToBeExported m) == true then
|
||||||
|
|
|
@ -69,6 +69,7 @@ if BuildShadowSkinEnabled:
|
||||||
printLog(log, ">>> Setup build directories <<<")
|
printLog(log, ">>> Setup build directories <<<")
|
||||||
mkPath(log, ExportBuildDirectory + "/" + ShapeClodtexBuildDirectory)
|
mkPath(log, ExportBuildDirectory + "/" + ShapeClodtexBuildDirectory)
|
||||||
mkPath(log, ExportBuildDirectory + "/" + ShapeWithCoarseMeshBuildDirectory)
|
mkPath(log, ExportBuildDirectory + "/" + ShapeWithCoarseMeshBuildDirectory)
|
||||||
|
mkPath(log, ExportBuildDirectory + "/" + ShapeOptimizedBuildDirectory)
|
||||||
mkPath(log, ExportBuildDirectory + "/" + ShapeLightmapBuildDirectory)
|
mkPath(log, ExportBuildDirectory + "/" + ShapeLightmapBuildDirectory)
|
||||||
mkPath(log, ExportBuildDirectory + "/" + ShapeLightmap16BitsBuildDirectory)
|
mkPath(log, ExportBuildDirectory + "/" + ShapeLightmap16BitsBuildDirectory)
|
||||||
|
|
||||||
|
|
|
@ -77,16 +77,19 @@ else:
|
||||||
# copy lightmap_not_optimized to lightmap
|
# copy lightmap_not_optimized to lightmap
|
||||||
printLog(log, ">>> Optimize lightmaps <<<")
|
printLog(log, ">>> Optimize lightmaps <<<")
|
||||||
loPathLightmapsOriginal = ExportBuildDirectory + "/" + ShapeLightmapNotOptimizedExportDirectory
|
loPathLightmapsOriginal = ExportBuildDirectory + "/" + ShapeLightmapNotOptimizedExportDirectory
|
||||||
|
loPathShapesOriginal = ExportBuildDirectory + "/" + ShapeClodtexBuildDirectory
|
||||||
mkPath(log, loPathLightmapsOriginal)
|
mkPath(log, loPathLightmapsOriginal)
|
||||||
loPathLightmaps = ExportBuildDirectory + "/" + ShapeLightmapBuildDirectory
|
loPathLightmaps = ExportBuildDirectory + "/" + ShapeLightmapBuildDirectory
|
||||||
loPathShapes = ExportBuildDirectory + "/" + ShapeClodtexBuildDirectory
|
loPathShapes = ExportBuildDirectory + "/" + ShapeOptimizedBuildDirectory
|
||||||
loPathTags = ExportBuildDirectory + "/" + ShapeTagExportDirectory
|
loPathTags = ExportBuildDirectory + "/" + ShapeTagExportDirectory
|
||||||
mkPath(log, loPathLightmaps)
|
mkPath(log, loPathLightmaps)
|
||||||
mkPath(log, loPathShapes)
|
mkPath(log, loPathShapes)
|
||||||
mkPath(log, loPathTags)
|
mkPath(log, loPathTags)
|
||||||
if needUpdateDirByTagLog(log, loPathLightmapsOriginal, ".txt", loPathLightmaps, ".txt") or needUpdateDirNoSubdir(log, loPathLightmapsOriginal, loPathLightmaps) or needUpdateDirNoSubdir(log, loPathShapes, loPathLightmaps) or needUpdateDirNoSubdir(log, loPathTags, loPathLightmaps):
|
if needUpdateDirByTagLog(log, loPathLightmapsOriginal, ".txt", loPathLightmaps, ".txt") or needUpdateDirNoSubdir(log, loPathLightmapsOriginal, loPathLightmaps) or needUpdateDirNoSubdir(log, loPathShapesOriginal, loPathShapes) or needUpdateDirNoSubdir(log, loPathShapes, loPathLightmaps) or needUpdateDirNoSubdir(log, loPathTags, loPathLightmaps):
|
||||||
removeFilesRecursive(log, loPathLightmaps)
|
removeFilesRecursive(log, loPathLightmaps)
|
||||||
copyFiles(log, loPathLightmapsOriginal, loPathLightmaps)
|
copyFiles(log, loPathLightmapsOriginal, loPathLightmaps)
|
||||||
|
removeFilesRecursive(log, loPathShapes)
|
||||||
|
copyFiles(log, loPathShapesOriginal, loPathShapes)
|
||||||
# Optimize lightmaps if any. Additionnaly, output a file indicating which lightmaps are 8 bits
|
# Optimize lightmaps if any. Additionnaly, output a file indicating which lightmaps are 8 bits
|
||||||
# lightmap_optimizer <path_lightmaps> <path_shapes> [path_tags] [path_flag8bit]
|
# lightmap_optimizer <path_lightmaps> <path_shapes> [path_tags] [path_flag8bit]
|
||||||
subprocess.call([ LightmapOptimizer, loPathLightmaps, loPathShapes, loPathTags, ExportBuildDirectory + "/" + ShapeLightmapBuildDirectory + "/list_lm_8bit.txt" ])
|
subprocess.call([ LightmapOptimizer, loPathLightmaps, loPathShapes, loPathTags, ExportBuildDirectory + "/" + ShapeLightmapBuildDirectory + "/list_lm_8bit.txt" ])
|
||||||
|
|
|
@ -46,8 +46,8 @@ printLog(log, "")
|
||||||
printLog(log, ">>> Install shape <<<")
|
printLog(log, ">>> Install shape <<<")
|
||||||
installPath = InstallDirectory + "/" + ShapeInstallDirectory
|
installPath = InstallDirectory + "/" + ShapeInstallDirectory
|
||||||
mkPath(log, installPath)
|
mkPath(log, installPath)
|
||||||
mkPath(log, ExportBuildDirectory + "/" + ShapeClodtexBuildDirectory)
|
mkPath(log, ExportBuildDirectory + "/" + ShapeOptimizedBuildDirectory)
|
||||||
copyFilesExtNoTreeIfNeeded(log, ExportBuildDirectory + "/" + ShapeClodtexBuildDirectory, installPath, ".shape")
|
copyFilesExtNoTreeIfNeeded(log, ExportBuildDirectory + "/" + ShapeOptimizedBuildDirectory, installPath, ".shape")
|
||||||
mkPath(log, ExportBuildDirectory + "/" + ShapeWithCoarseMeshBuildDirectory)
|
mkPath(log, ExportBuildDirectory + "/" + ShapeWithCoarseMeshBuildDirectory)
|
||||||
copyFilesExtNoTreeIfNeeded(log, ExportBuildDirectory + "/" + ShapeWithCoarseMeshBuildDirectory, installPath, ".shape")
|
copyFilesExtNoTreeIfNeeded(log, ExportBuildDirectory + "/" + ShapeWithCoarseMeshBuildDirectory, installPath, ".shape")
|
||||||
copyFilesExtNoTreeIfNeeded(log, ExportBuildDirectory + "/" + ShapeWithCoarseMeshBuildDirectory, installPath, ".dds")
|
copyFilesExtNoTreeIfNeeded(log, ExportBuildDirectory + "/" + ShapeWithCoarseMeshBuildDirectory, installPath, ".dds")
|
||||||
|
|
|
@ -265,6 +265,7 @@ fn runNelMaxExportSub inputMaxFile retryCount =
|
||||||
|
|
||||||
-- unselect
|
-- unselect
|
||||||
max select none
|
max select none
|
||||||
|
clearSelection()
|
||||||
|
|
||||||
-- Exported object count
|
-- Exported object count
|
||||||
exported = 0
|
exported = 0
|
||||||
|
|
|
@ -112,6 +112,7 @@ fn runNelMaxExport inputMaxFile =
|
||||||
|
|
||||||
-- unselect
|
-- unselect
|
||||||
max select none
|
max select none
|
||||||
|
clearSelection()
|
||||||
|
|
||||||
-- Exported object count
|
-- Exported object count
|
||||||
exported = 0
|
exported = 0
|
||||||
|
|
|
@ -103,6 +103,7 @@ fn runNelMaxExport inputMaxFile =
|
||||||
|
|
||||||
-- Select none
|
-- Select none
|
||||||
max select none
|
max select none
|
||||||
|
clearSelection()
|
||||||
|
|
||||||
-- Found it ?
|
-- Found it ?
|
||||||
find = false
|
find = false
|
||||||
|
|
|
@ -55,6 +55,7 @@ for dir in WaterMapSourceDirectories:
|
||||||
destDir = DatabaseDirectory + "/" + dir
|
destDir = DatabaseDirectory + "/" + dir
|
||||||
mkPath(log, destDir)
|
mkPath(log, destDir)
|
||||||
copyFilesExtNoTreeIfNeeded(log, srcDir, destDir, ".tga")
|
copyFilesExtNoTreeIfNeeded(log, srcDir, destDir, ".tga")
|
||||||
|
copyFilesExtNoTreeIfNeeded(log, srcDir, destDir, ".png")
|
||||||
printLog(log, "")
|
printLog(log, "")
|
||||||
|
|
||||||
log.close()
|
log.close()
|
||||||
|
|
Loading…
Reference in a new issue