Skip to content

Conversation

@judubu
Copy link
Contributor

@judubu judubu commented May 18, 2021

Purpose of this PR

Ticket/Jira #: https://jira.unity3d.com/browse/USDU-128

Payload loading rules were not respected in prefab isolation and were requiring to press "Reload" twice when changing the Payload Policy.
To do that the bindings have been updated to include the StageLoadRules (https://graphics.pixar.com/usd/docs/api/stage_load_rules_8h.html)

Testing

Functional Testing status:

Load the kitchen_set prefab, go in isolation, change the Payload Policy to LoadAll and press Reload should load the missing payloads.

Performance Testing status:
N/A

Overall Product Risks

Complexity:
Minimal

Halo Effect:
Minimal

Additional information

Note to reviewers:

The only functional change is in UsdAsset.
The other file manually modified is usd.i
Everything is SWIG generated

Reminder:

  • Add entry in CHANGELOG.md (if applicable)

@judubu judubu requested review from cguer, clusty and thomas-tu May 18, 2021 02:10
@judubu judubu added this to the 3.0.0 milestone May 31, 2021
Copy link
Contributor

@cguer cguer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

QA approved 👍!

Everything looks good but should we (or is it possible to) add a unit test for this?

Tested on:

  • 2021.2.0a17 (Windows only)

@judubu judubu force-pushed the bugfix/refresh_twice_in_prefab_stage branch from f1512a1 to 851988b Compare June 9, 2021 18:29
@judubu judubu merged commit 7544a21 into dev Jun 10, 2021
@judubu judubu deleted the bugfix/refresh_twice_in_prefab_stage branch June 10, 2021 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants