Skip to content

Commit 7d8e8dd

Browse files
committed
Remove out-of-scope TODO comment
1 parent eaef1fd commit 7d8e8dd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/tools/scene_viewer/morph_viewer_plugin.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ use serde_json::from_str;
1616

1717
use crate::scene_viewer_plugin::SceneHandle;
1818

19+
/// Deserialize the json field used in `gltf.mesh.extras` to associate
20+
/// weight indices to target names.
1921
#[derive(Component, Deserialize)]
2022
#[serde(rename_all = "camelCase")]
2123
struct TargetNames {
@@ -234,7 +236,6 @@ fn update_morphs(
234236
let new_weight = target.change_dir.change_weight(weights_slice[i], change);
235237
weights_slice[i] = new_weight;
236238
target.weight = new_weight;
237-
// TODO(#8158): handle animation player overwrriting morphs
238239
}
239240
}
240241

0 commit comments

Comments
 (0)