Giter Site home page Giter Site logo

Comments (9)

grinner avatar grinner commented on June 25, 2024

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.

grinner avatar grinner commented on June 25, 2024

Fixed the hack

from cadnano2.

 avatar commented on June 25, 2024

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.

grinner avatar grinner commented on June 25, 2024

Okay, so there's other issues. Tryingn to track down. I suspect the views just need a reset

from cadnano2.

grinner avatar grinner commented on June 25, 2024

Please test

from cadnano2.

grinner avatar grinner commented on June 25, 2024

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.

leemi avatar leemi commented on June 25, 2024

Doesn't seem to be working for me, when I deselect in 3D view, the items are still selected in 2D view.

from cadnano2.

grinner avatar grinner commented on June 25, 2024

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.

grinner avatar grinner commented on June 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.