Skip to content

Commit

Permalink
Added publish_file_template function to use in tk-houdini collector
Browse files Browse the repository at this point in the history
  • Loading branch information
gillesvink committed Nov 1, 2021
1 parent 5af10f5 commit f9131df
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,22 @@ def init_app(self):
hou.hipFile.addEventCallback(self.handler.sceneWasSaved)

else:
self.logger.info("Arnold is not loaded. Skipping importing for tk-houdini-arnold.")
self.logger.debug("Arnold is not loaded. Skipping importing for tk-houdini-arnold.")

def destroy_app(self):
# breakdown the app
if self.htoa_env:
hou.hipFile.removeEventCallback(self.handler.sceneWasSaved)

def getWorkFileTemplate(self):
def get_work_file_template(self):
# return the work file template object

template = self.get_template("work_file_template")

return template

def get_publish_file_template(self):

template = self.get_template("output_render_template")

return template
Binary file added icon_256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f9131df

Please sign in to comment.