Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blender Hydra Node Tree Doesn't Refresh With USD Changes #30

Closed
matiascodesal opened this issue Jan 10, 2021 · 1 comment · Fixed by #47
Closed

Blender Hydra Node Tree Doesn't Refresh With USD Changes #30

matiascodesal opened this issue Jan 10, 2021 · 1 comment · Fixed by #47
Assignees

Comments

@matiascodesal
Copy link

refresh_repro.zip

I've set up a Node Tree showing that if I change the USD file input to another file or edit the referenced USD file on disk, the addon doesn't update with the changes. The only way that I've found to force an update to delete the node tree and set it up again.

  1. Extract refresh_repro.zip
  2. Open blender_hydra_refresh_repro.blend
  3. Change the viewport shading to "Rendered" to see a cube rendered at the origin.
  4. In the node tree, change the USD file from "//cube.usda" to "//plane.usda". The USD list does not update and no changes are noticed in the viewport.
  5. You'll notice the same issue if you make any changes to cube.usda. The changes aren't reflected.
@bnagirniak bnagirniak self-assigned this Jan 26, 2021
@bnagirniak
Copy link
Contributor

Yes, such USD tree updates aren't implemented yet, we'll be working on this.

bsavery pushed a commit that referenced this issue Apr 19, 2021
…ph or tree changes (#47)

PURPOSE

Updating USD node tree stages during nodes, depsgraph or tree changes isn't working good and not optimized. This also fixes #30.

EFFECT OF CHANGE

Fixed and improved USD stages updating in USD node tree during nodes properties, depsgraph or tree changes.

TECHNICAL STEPS

Improved, optimized and fixed updating algorithm in USD node tree and USD nodes.
Made some refactoring and code improvements.
Improved implementation of some nodes: BlenderDataNode, MergeNode.
Adjusted other nodes due to USDNode changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants