Maya + Yeti: Fix yeti cache load using wrong name in edge case
Brief description
We hit this issue when the code was trying to create a group node that by pure luck had a node name that matched exactly with a name that was also in the namespace - thus maya would auto-rename the created group node.
As such group_name != group_node and the .setOutlinerColor failed to do its job correctly.
Description
This fixes it by actually using the node name returned by maya.
Testing notes:
Might be hard to test the specific edge case since I'm not entirely sure how we got the exact name match. But just testing a Yeti publish + load to begin with should be a good test.
- Load a Yeti Cache.
Hi Roy, will test it out ASAP. We got finally free license for Yeti from Peregrine so it just depends when it will be running @m-u-r-p-h-y
Tried out to test it however I have no clue how to get conditions like that :) ...cant get my head around this problem resp how to create such conditions.
However when tested at least yeti publish/load Im encountering the same issue as in here #3404 So I guess it need to be sorted first.