OpenPype icon indicating copy to clipboard operation
OpenPype copied to clipboard

Maya + Yeti: Fix yeti cache load using wrong name in edge case

Open BigRoy opened this issue 3 years ago • 2 comments

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.

  1. Load a Yeti Cache.

BigRoy avatar Sep 13 '22 22:09 BigRoy

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

LiborBatek avatar Sep 14 '22 06:09 LiborBatek

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.

LiborBatek avatar Oct 04 '22 07:10 LiborBatek