mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 08:54:53 +01:00
Lock shape nodes
This commit is contained in:
parent
68d3f9ec3e
commit
6fd4e7cf38
1 changed files with 4 additions and 0 deletions
|
|
@ -131,6 +131,10 @@ class VRaySceneLoader(api.Loader):
|
|||
|
||||
cmds.setAttr("{}.FilePath".format(vray_scene), filename, type="string")
|
||||
|
||||
# Lock the shape nodes so the user cannot delete these
|
||||
cmds.lockNode(mesh, lock=True)
|
||||
cmds.lockNode(vray_scene, lock=True)
|
||||
|
||||
# Create important connections
|
||||
cmds.connectAttr("time1.outTime",
|
||||
"{0}.inputTime".format(trans))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue