Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Support morph target weights in glTF animation pointer and interactivity#16778

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
bghgary wants to merge6 commits intoBabylonJS:master
base:master
Choose a base branch
Loading
frombghgary:gltf-animation-pointer-morph-targets
Draft
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
lint
  • Loading branch information
@bghgary
bghgary committedJun 21, 2025
commit2e2a1fb8fe30e5815fa930a8475a1d99a64cf663
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -10,7 +10,7 @@
import { addToBlockFactory } from "core/FlowGraph/Blocks/flowGraphBlockFactory";
import { Quaternion, Vector3 } from "core/Maths/math.vector";
import type { IAnimation, IScene, IKHRInteractivity } from "../glTFLoaderInterfaces";
import { Nullable } from "core/types";
importtype{ Nullable } from "core/types";

const NAME = "KHR_interactivity";

Expand DownExpand Up@@ -80,7 +80,7 @@
return null;
}

return this._loader.loadSceneAsync(context, scene).then(() => {

Check failure on line 83 in packages/dev/loaders/src/glTF/2.0/Extensions/KHR_interactivity.ts

View check run for this annotation

Azure Pipelines/ CI-Monorepo (Format, Lint, and more)

packages/dev/loaders/src/glTF/2.0/Extensions/KHR_interactivity.ts#L83

packages/dev/loaders/src/glTF/2.0/Extensions/KHR_interactivity.ts(83,60): error github/no-then: Prefer async/await to Promise.then()

Check failure on line 83 in packages/dev/loaders/src/glTF/2.0/Extensions/KHR_interactivity.ts

View check run for this annotation

Azure Pipelines/ CI-Monorepo (Format, Lint, and more)

packages/dev/loaders/src/glTF/2.0/Extensions/KHR_interactivity.ts#L83

packages/dev/loaders/src/glTF/2.0/Extensions/KHR_interactivity.ts(83,68): error @typescript-eslint/promise-function-async: Functions that return promises must be async. Consider adding an explicit return type annotation if the function is intended to return a union of promise and non-promise types.

Check failure on line 83 in packages/dev/loaders/src/glTF/2.0/Extensions/KHR_interactivity.ts

View check run for this annotation

Azure Pipelines/ CI-Monorepo

packages/dev/loaders/src/glTF/2.0/Extensions/KHR_interactivity.ts#L83

packages/dev/loaders/src/glTF/2.0/Extensions/KHR_interactivity.ts(83,60): error github/no-then: Prefer async/await to Promise.then()

Check failure on line 83 in packages/dev/loaders/src/glTF/2.0/Extensions/KHR_interactivity.ts

View check run for this annotation

Azure Pipelines/ CI-Monorepo

packages/dev/loaders/src/glTF/2.0/Extensions/KHR_interactivity.ts#L83

packages/dev/loaders/src/glTF/2.0/Extensions/KHR_interactivity.ts(83,68): error @typescript-eslint/promise-function-async: Functions that return promises must be async. Consider adding an explicit return type annotation if the function is intended to return a union of promise and non-promise types.
if (!this._loader) {
return;
}
Expand All@@ -102,7 +102,7 @@
return parser.serializeToFlowGraph();
});

return Promise.all(graphs.map((graph) => ParseFlowGraphAsync(graph, { coordinator, pathConverter: this._pathConverter }))).then(() => {

Check failure on line 105 in packages/dev/loaders/src/glTF/2.0/Extensions/KHR_interactivity.ts

View check run for this annotation

Azure Pipelines/ CI-Monorepo (Format, Lint, and more)

packages/dev/loaders/src/glTF/2.0/Extensions/KHR_interactivity.ts#L105

packages/dev/loaders/src/glTF/2.0/Extensions/KHR_interactivity.ts(105,51): error @typescript-eslint/promise-function-async: Functions that return promises must be async.

Check failure on line 105 in packages/dev/loaders/src/glTF/2.0/Extensions/KHR_interactivity.ts

View check run for this annotation

Azure Pipelines/ CI-Monorepo (Format, Lint, and more)

packages/dev/loaders/src/glTF/2.0/Extensions/KHR_interactivity.ts#L105

packages/dev/loaders/src/glTF/2.0/Extensions/KHR_interactivity.ts(105,136): error github/no-then: Prefer async/await to Promise.then()

Check failure on line 105 in packages/dev/loaders/src/glTF/2.0/Extensions/KHR_interactivity.ts

View check run for this annotation

Azure Pipelines/ CI-Monorepo

packages/dev/loaders/src/glTF/2.0/Extensions/KHR_interactivity.ts#L105

packages/dev/loaders/src/glTF/2.0/Extensions/KHR_interactivity.ts(105,51): error @typescript-eslint/promise-function-async: Functions that return promises must be async.

Check failure on line 105 in packages/dev/loaders/src/glTF/2.0/Extensions/KHR_interactivity.ts

View check run for this annotation

Azure Pipelines/ CI-Monorepo

packages/dev/loaders/src/glTF/2.0/Extensions/KHR_interactivity.ts#L105

packages/dev/loaders/src/glTF/2.0/Extensions/KHR_interactivity.ts(105,136): error github/no-then: Prefer async/await to Promise.then()
this._coordinator = coordinator;
});
});
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp