Skip to content

Commit

Permalink
Fix: replace_datablocks adds numbers to name (ynput#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tilix4 authored Jan 12, 2024
1 parent 0409ce4 commit 32546f8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions openpype/hosts/blender/api/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -764,6 +764,9 @@ def replace_datablocks(
):
old_datablock.user_remap(new_datablock)

# Transfer name
new_datablock.name = new_datablock["source_name"]

# Remove remapped datablock
datablocks_to_remap.remove(new_datablock)

Expand Down

0 comments on commit 32546f8

Please sign in to comment.