Hi Remi, would it be possible to post an example? It would simplify seeing the problem first-hand and may give you a quicker answer with solution.
On 27 February 2017 at 09:18, Rémi Deletrain <[email protected]> wrote: > Oui je parle français. Je re explique en français du coup... > > J'ai fait un picker qui permet de positionner un objet sur un mesh et de > l'orienter par rapport à la normal. > Cette partie de l'outil fonctionne très bien. > > J'utilise pour ça le draggerContext. Le problème c'est que dès que je > lance le DraggerContext et que je pick sur un objet l'affichage ne se met > pas à jour. > Pour le viewport je force le refresh dans la fonction mais l'outliner lui > reste figé... > Il se remet en route uniquement quand je quitte le DraggerContext et que > je sélectionne un objet à la main. > > ============================================================ > ==================================================== > > > I made a picker that allows to position an object on a mesh and orient it > with the normal. This part of the tool works very well. I use the > draggerContext for that. The problem is that as soon as I launch the > DraggerContext and I pick on an object the display does not update. For the > viewport I force the refresh in the function but the outliner remains > frozen to him ... It starts again only when I leave the DraggerContext and > I select an object by hand. > > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/python_inside_maya/44516db8-e6b7-4a52-817b- > aea2f254da44%40googlegroups.com > <https://groups.google.com/d/msgid/python_inside_maya/44516db8-e6b7-4a52-817b-aea2f254da44%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- *Marcus Ottosson* [email protected] -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOCB6pjARWGo%3Db%3DkzL%2Bnt_vddfxTKvw80fVZ5Bj33tZB%3DA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
