Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

General: Switch from hero version to versioned works #3691

Conversation

iLLiCiTiT
Copy link
Member

@iLLiCiTiT iLLiCiTiT commented Aug 18, 2022

Brief description

Fix switch from hero version functionaly in scene manager tool.

Description

Bug was not related to scene manager tool but to client function get_representation_parents where were not handled hero versions thus it didn't find parents and crashed.

Side fixes related to loading of hero version in loader and in nuke's LoadClip. If loader crashed on loading of hero version it caused another crash when tried to show message with error becaue hero versions don't have name key in it. LoadClip crashed from same reason when added to scene "information" data.

Testing notes:

  1. Load Hero version to scene
  2. Open scene manager tool
  3. Run "Switch to version" which should work (if loader support it)

Resolves #3689

@ynbot
Copy link
Contributor

ynbot commented Aug 18, 2022

@iLLiCiTiT iLLiCiTiT self-assigned this Aug 18, 2022
@iLLiCiTiT iLLiCiTiT added the type: bug Something isn't working label Aug 18, 2022
@iLLiCiTiT iLLiCiTiT merged commit 29754b0 into develop Aug 18, 2022
@iLLiCiTiT iLLiCiTiT deleted the bugfix/OP-3752_Cannot-switch-asset-from-hero-version-to-versioned branch August 18, 2022 13:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot switch asset from hero version to versioned
3 participants