-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Selection box missing when redoing after delete all #13
Comments
Calling the pathview directly from the mayaview is a no no File "c:\git\cadnano2\controllers\mayacontrollers\mayaObjectManager.py", line 156, in strandsSelected |
Fixed the hack |
Nick, there was a reason why I had this hack: |
Okay, so there's other issues. Tryingn to track down. I suspect the views just need a reset |
Please test |
I think I solved it. Basically the press callbacks need be minimized. On Thu, Dec 22, 2011 at 10:38 AM, Simon Breslav
|
Doesn't seem to be working for me, when I deselect in 3D view, the items are still selected in 2D view. |
So we need an way to set self.oldSelectionStrandList. That is it seems like we need to catch the deselected items and map them to strands in the model |
or, I can just add a method to the model to deselect everything globally. You guys' call, but I'd like a way to do the former, as that is how I do it in the pathview |
// Error: underlying C/C++ object has been deleted
Traceback (most recent call last):
File "c:/git/cadnano2/controllers/mayacontrollers/mayaSelectionContex.py", line 93, in selectionCallback
m.strandsSelected(helixList)
File "c:\git\cadnano2\controllers\mayacontrollers\mayaObjectManager.py", line 156, in strandsSelected
doc.win.pathroot.clearStrandSelections()
File "c:\git\cadnano2\views\pathview\pathrootitem.py", line 193, in clearStrandSelections
self._strandItemSelectionGroup.clearSelection(False)
File "c:\git\cadnano2\views\pathview\pathselection.py", line 237, in clearSelection
self.selectionbox.hide()
RuntimeError: underlying C/C++ object has been deleted //
The text was updated successfully, but these errors were encountered: