OgreProceduralIllustrations has unhandled exception when no renderers available
Closed this issue · 3 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
1. Execute OgreProceduralIllustrations without available renderers
What is the expected output? What do you see instead?
expected: Graceful error reporting
what I see: unhandled exception
What version of the product are you using? On what operating system?
Mercurial, Linux
Please provide any additional information below.
Line 83, Illustrations.cpp tries to derreference rsList.begin() without
checking if any renderer is available. This will result in a unhandled
exception.
Original issue reported on code.google.com by kam1k...@gmail.com
on 11 Jul 2013 at 9:14
GoogleCodeExporter commented
Err... why is OgreProceduralIllustrations needed if no render system is
available?
But of course, I can add a check with an explicit message.
Original comment by michael.broutin@gmail.com
on 15 Jul 2013 at 9:33
GoogleCodeExporter commented
It's not needed. I build without it, however cmake is set up to build and
execute it by default, which can lead automatic package building to fail
because it detects a crashing process.
Original comment by kam1k...@gmail.com
on 15 Jul 2013 at 12:53
GoogleCodeExporter commented
Done
Original comment by michael.broutin@gmail.com
on 24 Jul 2013 at 10:01
- Changed state: Fixed