Skip to content

Custom transform3d handler questions #1811

Answered by ppt-adsk
csyshing asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @csyshing, not sure if I can give a complete answer, but here are some thoughts that I hope you'll find useful:

  1. Even if you load multiple plugins, Global.cpp:initialize() should only be called once:
    if (gRegistrationCount++ > 0)

    My hope is that this would let you place yourself at the head of the Transform3d handler chain of responsibility in the AL plugin (and perhaps in the mayaUsdPlugin if you need that too) in a reliable way. In the plugin initialization, as long as Global.cpp:initialize() has been called once, then you would retrieve the current Transform3dHandler, which is in fact the head of the chain of …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@csyshing
Comment options

@ppt-adsk
Comment options

Answer selected by csyshing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants