From 01bf82484565d81a5790ebbaf44639bb024106c5 Mon Sep 17 00:00:00 2001 From: wikoreman Date: Tue, 2 Oct 2018 10:46:08 +0200 Subject: [PATCH] Added comments about settings, force format on creation --- colorbleed/plugins/houdini/create/create_pointcache.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/colorbleed/plugins/houdini/create/create_pointcache.py b/colorbleed/plugins/houdini/create/create_pointcache.py index fdc5ff3598..698594796d 100644 --- a/colorbleed/plugins/houdini/create/create_pointcache.py +++ b/colorbleed/plugins/houdini/create/create_pointcache.py @@ -1,5 +1,3 @@ -from collections import OrderedDict - from avalon import houdini @@ -22,9 +20,10 @@ class CreatePointCache(houdini.Creator): def process(self): instance = super(CreatePointCache, self).process() - parms = {"use_sop_path": True, - "build_from_path": True, - "path_attrib": "path", + parms = {"use_sop_path": True, # Export single node from SOP Path + "build_from_path": True, # Direct path of primitive in output + "path_attrib": "path", # Pass path attribute for output + "format": 2, # Set format to Ogawa "filename": "$HIP/pyblish/%s.abc" % self.name} if self.nodes: