Skip to content

Commit 8a7d3ce

Browse files
authored
don't put previous skin/morph in the morphed_skinned_mesh_layout (#14065)
# Objective - Fixes #14059 - `morphed_skinned_mesh_layout` is the same as `morphed_skinned_motion_mesh_layout` but shouldn't have the skin / morph from previous frame, as they're used for motion ## Solution - Remove the extra entries ## Testing - Run with the glTF file reproducing #14059, it works
1 parent e69e28f commit 8a7d3ce

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

crates/bevy_pbr/src/render/mesh_bindings.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,10 +242,6 @@ impl MeshLayouts {
242242
// The current frame's morph weight buffer.
243243
(2, layout_entry::weights()),
244244
(3, layout_entry::targets()),
245-
// The previous frame's joint matrix buffer.
246-
(6, layout_entry::skinning()),
247-
// The previous frame's morph weight buffer.
248-
(7, layout_entry::weights()),
249245
),
250246
),
251247
)

0 commit comments

Comments
 (0)