mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
fix the ancestor issues for bbox selection
This commit is contained in:
parent
8c1a63d15c
commit
b868e4be1a
1 changed files with 2 additions and 1 deletions
|
|
@ -95,6 +95,7 @@ class ExtractProxyAlembic(publish.Extractor):
|
|||
nodes = list(iter_visible_nodes_in_range(nodes,
|
||||
start=start,
|
||||
end=end))
|
||||
|
||||
inst_selection = cmds.ls(nodes, long=True)
|
||||
cmds.geomToBBox(inst_selection,
|
||||
nameSuffix=name_suffix,
|
||||
|
|
@ -104,6 +105,6 @@ class ExtractProxyAlembic(publish.Extractor):
|
|||
startTime=start,
|
||||
endTime=end)
|
||||
bbox_sel = cmds.ls(sl=True, long=True)
|
||||
# bbox_sel = cmds.listRelatives(allDescendents=True, fullPath=True, type="mesh")
|
||||
|
||||
self.log.debug("proxy_root: {}".format(bbox_sel))
|
||||
return bbox_sel
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue