LumaPictures / maya-to-hydra

This repo is no longer updated. Please see https://github.com/Autodesk/maya-usd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Selected lights can cause issues refreshing the viewport

sirpalee opened this issue · comments

Reproducing the issue:

  • load the arnold render delegate
  • start rendering
  • select a light
  • switch to one of the transform manipulators

And the viewport stops refreshing. HdSt and HdEmbree works just fine. HdPrman has similar issues, so this might be a problem in the render delegates.

Updated the desription. The issue only happens when any of the transform manipulators are used, and it happens because the lightAdapter.cpp:_changeTransform is constantly triggered, attributes like translate, scaleX, etc. I'm not sure about what's the best way to track this properly, IIRC, attribute changed is not always triggered (especially during animation), neither is transform changed.