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 exception in "sIBLeditUtilities" Component when attempting to edit an Ibl Set and nothing is selected. #182

Closed KelSolaar closed 11 years ago

KelSolaar commented 11 years ago
Stack Trace
_________________________________
0   <type 'exceptions.AttributeError'>
1   
2   Traceback (most recent call last):
3   .. File "<string>", line 312, in <module>
4   .. File "<string>", line 309, in main
5   .. File "Z:/HOME/Maya/fth_utils/sIBL/sIBL_GUI 4\umbra\engine.py", line 1864, in run
6   .... return sys.exit(RuntimeGlobals.application.exec_())
7   .. File "Z:/HOME/Maya/fth_utils/sIBL/sIBL_GUI 4/sibl_gui/components/addons/sIBLeditUtilities\sIBLeditUtilities.py", line 436, in __iblSetsOutliner_views_editIblSetInSIBLEditAction__triggered
8   .... return self.editIblSetInSIBLEditUi()
9   .. File "Z:/HOME/Maya/fth_utils/sIBL/sIBL_GUI 4/sibl_gui/components/addons/sIBLeditUtilities\sIBLeditUtilities.py", line 502, in editIblSetInSIBLEditUi
10  .... selectedIblSet = foundations.common.pathExists(foundations.common.getFirstItem(selectedIblSets).path) and \
11  AttributeError: 'NoneType' object has no attribute 'path'