smpl_lazy_load_model

Function smpl_lazy_load_model 

Source
pub extern "C" fn smpl_lazy_load_model(
    scene: &mut Scene,
    _runner: &mut RunnerState,
)
Expand description

Check all entities with SmplParams and lazy load the smpl model if needed do it in two stages, first checking if we need to acually load anything and in the second stage we actually load stuff, this is in order to avoid accing the SmplModel mutable and then triggering all the other systems to run