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

Fix drag'n'drop in "collectionsOutliner" Component. #148

Closed KelSolaar closed 12 years ago

KelSolaar commented 12 years ago

Drag'n'drop is broken in "collectionsOutliner" Component because the "foundations.dataStructures.Structure" class is not pickable since the memory leak issue.

Traceback (most recent call last): File "sIBL_GUI.py", line 288, in ("core.databaseBrowser",)) File "/Users/KelSolaar/Documents/Developement/sIBLGUI/src/umbra/engine.py", line 1661, in run return sys.exit(RuntimeGlobals.application.exec()) File "/Users/KelSolaar/Documents/Developement/sIBL_GUI/src/sibl_gui/components/core/collectionsOutliner/views.py", line 196, in dropEvent nodes = pickle.loads(event.mimeData().data("application/x-umbragraphmodeldatalist")) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pickle.py", line 1382, in loads return Unpickler(file).load() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pickle.py", line 858, in load dispatchkey File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pickle.py", line 1215, in load_build setstate = getattr(inst, "setstate", None) File "/Users/KelSolaar/Documents/Developement/sIBL_GUI/src/foundations/dataStructures.py", line 144, in getattr return self[attribute] KeyError: 'setstate'