Comments (9)
Calling the pathview directly from the mayaview is a no no
File "c:\git\cadnano2\controllers\mayacontrollers\mayaObjectManager.py", line 156, in strandsSelected
doc.win.pathroot.clearStrandSelections()
from cadnano2.
Fixed the hack
from cadnano2.
Nick, there was a reason why I had this hack:
XXX [SB] THIS IS A HACK, should not need to do this!!!
doc.win.pathroot.clearStrandSelections()
the Maya to Cadnano selection does not work right without it...removing that line does not solve the underlying issue...
from cadnano2.
Okay, so there's other issues. Tryingn to track down. I suspect the views just need a reset
from cadnano2.
Please test
from cadnano2.
I think I solved it. Basically the press callbacks need be minimized.
Until that happens, we may have issues. I think I can push a fix as
the work I did the other day can revert the complexity of my
mousepress callback business
On Thu, Dec 22, 2011 at 10:38 AM, Simon Breslav
[email protected]
wrote:
Nick, there was a reason why I had this hack:
XXX [SB] THIS IS A HACK, should not need to do this!!!
doc.win.pathroot.clearStrandSelections()
the Maya to Cadnano selection does not work right without it...removing that line does not solve the undelying issue...
Reply to this email directly or view it on GitHub:
#13 (comment)
from cadnano2.
Doesn't seem to be working for me, when I deselect in 3D view, the items are still selected in 2D view.
from cadnano2.
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
from cadnano2.
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
from cadnano2.
Related Issues (15)
- About screen incomplete? HOT 1
- Undo delete crashes Maya HOT 7
- Menu options don't do anything HOT 1
- Error log, trying to delete wrong object number
- Is this project still active/being maintained? HOT 1
- SyntaxError: invalid syntax
- Removing/Adding strand causes strandSet inconsistency HOT 1
- Endpoint doesn't track mouse on initial drag
- Paint tool colors not saving HOT 1
- Paint tool color set to black on cancel HOT 2
- Deleting and reconstructing crossovers causes crash HOT 1
- Insertions and Skips get cleared on resizing HOT 2
- Slice View inconsistency with crossovers
- Remove redundant callbacks related to "click to Add" and selection
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cadnano2.