Skip to content

Commit

Permalink
HYDRA-283 : Fix crash when going back and forth between VP2 and Hydra…
Browse files Browse the repository at this point in the history
… GL. (#392)
  • Loading branch information
lanierd-adsk authored and GitHub Enterprise committed Mar 29, 2023
1 parent 0565b8c commit c70dffd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/mayaHydra/plugin/renderOverride.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -797,6 +797,8 @@ void MtohRenderOverride::ClearHydraResources()
TF_DEBUG(MAYAHYDRALIB_RENDEROVERRIDE_RESOURCES)
.Msg("MtohRenderOverride::ClearHydraResources(%s)\n", _rendererDesc.rendererName.GetText());

_mayaHydraSceneDelegate = nullptr;

_delegates.clear();
_defaultLightDelegate.reset();

Expand Down

0 comments on commit c70dffd

Please sign in to comment.