docs(): minor docstring correction

This commit is contained in:
kaosat.dev 2023-07-30 01:19:00 +02:00
parent b3b643c427
commit 2f77d46fee

View File

@ -31,7 +31,7 @@ pub fn gltf_extras_to_components(
added_components = reflect_components.len(); added_components = reflect_components.len();
debug!("Found components {}", added_components); debug!("Found components {}", added_components);
// we assign the components specified in entity_data/xxx_components objects to their parent node // we assign the components specified /xxx_components objects to their parent node
let mut target_entity = entity; let mut target_entity = entity;
// if the node contains "components" or ends with "_pa" (ie add to parent), the components will not be added to the entity itself but to its parent // if the node contains "components" or ends with "_pa" (ie add to parent), the components will not be added to the entity itself but to its parent
// this is mostly used for Blender collections // this is mostly used for Blender collections