mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-29 04:44:23 +01:00
optional motion.filepath
This commit is contained in:
3 files changed
+9
-2
No files matched your search
@@ -127,7 +127,12 @@ export async function loadHierarchyMotions(
|
||||
|
||||
parseHierarchies(sc2["#hierarchy"], null, (hierarchy, components) => {
|
||||
for (const component of components) {
|
||||
if (component["comp.typename"] !== "MotionComponent") continue;
|
||||
if (
|
||||
component["comp.typename"] !== "MotionComponent" ||
|
||||
component["motion.filepath"] === undefined
|
||||
) {
|
||||
continue;
|
||||
}
|
||||
|
||||
loading.push(
|
||||
loadMotion(vfs, path, component).then((motion) => {
|
||||
|
||||
Reference in new issue
Block a user