implement exitstack functions from exitstack.py

This commit is contained in:
Kayla Man 2024-01-04 00:25:34 +08:00
parent 78d1f95bde
commit 9be69c3f30

View file

@ -2839,7 +2839,7 @@ def bake_to_world_space(nodes,
"sx", "sy", "sz"}
world_space_nodes = []
with contextlib.ExitStack() as stack:
with ExitStack() as stack:
delete_bin = stack.enter_context(delete_after())
# Create the duplicate nodes that are in world-space connected to
# the originals