Update scene.cpp

fix list iterators incompatible
Merge pull request #1 from bigvaliant/patch-1

Update scene.cpp Merge pull request #1 from bigvaliant/patch-1:fix list iterators incompatible