mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
add loader
This commit is contained in:
parent
a4c36b9e4f
commit
f95f8f6ebe
1 changed files with 2 additions and 2 deletions
|
|
@ -17,8 +17,8 @@ class PointCloudLoader(load.LoaderPlugin):
|
|||
|
||||
def load(self, context, name=None, namespace=None, data=None):
|
||||
"""load point cloud by tyCache"""
|
||||
|
||||
from pymxs import runtime as rt
|
||||
|
||||
filepath = os.path.normpath(self.fname)
|
||||
obj = rt.tyCache()
|
||||
obj.filename = filepath
|
||||
|
|
@ -30,8 +30,8 @@ class PointCloudLoader(load.LoaderPlugin):
|
|||
|
||||
def update(self, container, representation):
|
||||
"""update the container"""
|
||||
|
||||
from pymxs import runtime as rt
|
||||
|
||||
path = get_representation_path(representation)
|
||||
node = rt.getNodeByName(container["instance_node"])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue