josauder / procedural_city_generation

Procedural City Generation program implemented in Python and Visualized with Blender.
Mozilla Public License 2.0
559 stars 86 forks source link

Accomodate users who don't have the default scene #15

Closed iKlsR closed 8 years ago

iKlsR commented 8 years ago

Some Blender users modify their startup file, setupscenery() assumes there will be a default cube and lamp. Blender throws a KeyError if a lamp or an object named Lamp doesn't exist.