mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 23:54:35 +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
|
|
@ -53,6 +53,7 @@ public:
|
|||
void computeBounds(Box3F& bounds) override;
|
||||
|
||||
static bool canLoadCachedDTS(const Torque::Path& path);
|
||||
static bool canLoadCachedDSQ(const Torque::Path& path);
|
||||
static bool checkAndMountSketchup(const Torque::Path& path, String& mountPoint, Torque::Path& daePath);
|
||||
static domCOLLADA* getDomCOLLADA(const Torque::Path& path);
|
||||
static domCOLLADA* readColladaFile(const String& path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue