KenzieMac130 / ogre-procedural

Automatically exported from code.google.com/p/ogre-procedural
0 stars 0 forks source link

OgreProceduralIllustrations has unhandled exception when no renderers available #142

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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 8 years ago
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 8 years ago
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 8 years ago
Done

Original comment by michael.broutin@gmail.com on 24 Jul 2013 at 10:01