Skip to content

Commit

Permalink
Remove out-of-scope TODO comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nicopap committed Apr 12, 2023
1 parent eaef1fd commit 7d8e8dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/tools/scene_viewer/morph_viewer_plugin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ use serde_json::from_str;

use crate::scene_viewer_plugin::SceneHandle;

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

Expand Down

0 comments on commit 7d8e8dd

Please sign in to comment.