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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to