mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 17:04:54 +01:00
Use log instead of print
This commit is contained in:
parent
542918135f
commit
17be6f0f03
1 changed files with 3 additions and 2 deletions
|
|
@ -284,10 +284,10 @@ class CreateRender(plugin.Creator):
|
|||
rs = renderSetup.instance()
|
||||
layers = rs.getRenderLayers()
|
||||
if use_selection:
|
||||
print(">>> processing existing layers")
|
||||
self.log.info("Processing existing layers")
|
||||
sets = []
|
||||
for layer in layers:
|
||||
print(" - creating set for {}:{}".format(
|
||||
self.log.info(" - creating set for {}:{}".format(
|
||||
namespace, layer.name()))
|
||||
render_set = cmds.sets(
|
||||
n="{}:{}".format(namespace, layer.name()))
|
||||
|
|
@ -301,6 +301,7 @@ class CreateRender(plugin.Creator):
|
|||
collection = render_layer.createCollection("defaultCollection")
|
||||
collection.getSelector().setPattern('*')
|
||||
|
||||
self.log.info("Applying default render settings..")
|
||||
RenderSettings.apply_defaults()
|
||||
return self.instance
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue