-
Hi, For historical reasons, our studio has some USD assets that have xformOp names with extra suffix, for example:
We used to treat and handle those xformOps as they were no extra suffixes:
Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @csyshing, not sure if I can give a complete answer, but here are some thoughts that I hope you'll find useful:
Would that work?
Is there any way to re-use this strategy in your own code, since you're also deriving from UsdTransform3dMayaXformStack? |
Beta Was this translation helpful? Give feedback.
Hi @csyshing, not sure if I can give a complete answer, but here are some thoughts that I hope you'll find useful:
maya-usd/lib/mayaUsd/ufe/Global.cpp
Line 119 in 395ad31
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 …