KelSolaar / sIBL_GUI

sIBL_GUI - HDRI Lighting with Smart IBL.
http://www.hdrlabs.com/
GNU General Public License v3.0
27 stars 6 forks source link

Handle Templates with no attributes sections. #174

Closed KelSolaar closed 11 years ago

KelSolaar commented 11 years ago
Traceback (most recent call last):
  File "/Users/kelsolaar/Documents/Development/sIBL_GUI/bin/sIBL_GUI", line 57, in <module>
    main()
  File "/Users/kelsolaar/Documents/Development/sIBL_GUI/sibl_gui/launcher.py", line 309, in main
    ("core.iblSetsOutliner",))
  File "/Users/kelsolaar/Documents/Development/VirtualEnv/HDRLabs/lib/python2.7/site-packages/umbra/engine.py", line 1864, in run
    return sys.exit(RuntimeGlobals.application.exec_())
  File "/Users/kelsolaar/Documents/Development/sIBL_GUI/sibl_gui/components/addons/loaderScriptOptions/loaderScriptOptions.py", line 993, in __templatesOutliner_view_selectionModel__selectionChanged
    self.__views_setUi()
  File "/Users/kelsolaar/Documents/Development/sIBL_GUI/sibl_gui/components/addons/loaderScriptOptions/loaderScriptOptions.py", line 951, in __views_setUi
    self.__view_setUi(templateSectionsFileParser.sections[self.__templateCommonAttributesSection],
KeyError: 'Common Attributes'