mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-08 21:24:34 +00:00
Merge pull request #1760 from marauder2k9-torque/ShaderGen-produce-shaderdata
Shader Gen to produce ShaderData
This commit is contained in:
commit
bac9ed99b3
13 changed files with 477 additions and 128 deletions
|
|
@ -720,7 +720,7 @@ static bool sReadCollada(const Torque::Path& path, TSShape*& res_shape)
|
|||
// Cache the model to a DTS file for faster loading next time.
|
||||
cachedPath.setExtension("cached.dts");
|
||||
// Cache the model to a DTS file for faster loading next time.
|
||||
FileStream dtsStream;
|
||||
FileStream dtsStream(FileStream::AsyncMode::Background);
|
||||
if (dtsStream.open(cachedPath.getFullPath(), Torque::FS::File::Write))
|
||||
{
|
||||
Con::printf("Writing cached shape to %s", cachedPath.getFullPath().c_str());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue