BLEN-358: Error in console after closing Blender #22

Merged
Bogdan Nagirniak merged 4 commits from BLEN-358_1 into hydra-render 2023-04-06 11:58:30 +02:00
Showing only changes of commit 40382f6d57 - Show all commits

View File

@ -118,8 +118,8 @@ def export_mtlx(material):
print("ERROR: no MaterialX addon available")
except:
# This is a placeholder, this code will be moved to C part later
# This code shouldn't raise any exception due to breaking refcounts on RenderEngine
# This is a placeholder, this code will be moved to C part later
# This code shouldn't raise any exception due to breaking refcounts on RenderEngine
traceback.print_exc()
DagerD marked this conversation as resolved
Review

remove return "" from here, move comment under except:

remove `return ""` from here, move comment under `except:`
return ""