mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-18 06:03:48 +00:00
dsq followup work 1
fix animation export filename eroneous append
add ::canLoadCachedDSQ(const Torque::Path& path) methods to dae and assimp chains
SPECIAL NOTE:
as the above leads to dsqs not being previewable in editor, nor being able to understand they shouldn't be filtering out bones, for the block
bool readSuccess = false;
if (canLoadCached)
{
readSuccess = shape->read(&cachedStream);
}
else
{
readSuccess = shape->importSequences(&cachedStream, cachedPath);
}
we'll be wanting to inject an armature proxy method to fill out TSShape *shape = new TSShape;
untill such time as that's sorted, there's a bool gTryUseDSQs = false; killswitch in for dsqs
This commit is contained in:
parent
dd72a627a9
commit
3213ede656
5 changed files with 127 additions and 46 deletions
|
|
@ -40,6 +40,7 @@ MODULE_BEGIN( ShapeLoader )
|
|||
}
|
||||
MODULE_END;
|
||||
|
||||
bool gTryUseDSQs = false;
|
||||
const F32 TSShapeLoader::DefaultTime = -1.0f;
|
||||
const F64 TSShapeLoader::MinFrameRate = 15.0f;
|
||||
const F64 TSShapeLoader::MaxFrameRate = 60.0f;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue