Skip to content

Commit

Permalink
add todo note about merging forward
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Chen <ichen@osrfoundation.org>
  • Loading branch information
iche033 committed Apr 1, 2021
1 parent 268f42a commit 34b31c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/rendering/SceneManager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1137,6 +1137,9 @@ rendering::ParticleEmitterPtr SceneManager::UpdateParticleEmitter(Entity _id,
const std::string key = "particle_scatter_ratio";
if (data.key() == "particle_scatter_ratio" && data.value_size() > 0)
{
// \todo(anyone) switch to use the follow API when merging forward to
// edifice
// emitter->SetParticleScatterRatio(math::parseFloat(data.value(0)));
emitter->SetUserData(key, math::parseFloat(data.value(0)));
break;
}
Expand Down

0 comments on commit 34b31c0

Please sign in to comment.