GPUOpen-LibrariesAndSDKs / BlenderUSDHydraAddon

This add-on allows you to assemble and compose USD data with Blender data and render it all using various renderers via Hydra.
Apache License 2.0
362 stars 37 forks source link

Fixed possible issue during importing usd file in USD nodetree. #262

Closed bnagirniak closed 2 years ago

bnagirniak commented 2 years ago

PURPOSE

Possible issue during importing usd file in USD nodetree

  File "D:\amd-gpuopen\BlenderUSDHydraAddon\src\hdusd\engine\viewport_engine.py", line 521, in _sync
    self.render_params.clearColor = world_data.clear_color
Boost.Python.ArgumentError: Python argument types in
    None.None(RenderParams, tuple)

EFFECT OF CHANGE

Fixed possible issue during importing usd file in USD nodetree.

TECHNICAL STEPS

Added check is not None in WorldData.init_from_stage()