godotengine / godotengine/godot

Resource "Save as..." should change the resource path of current node, but now it change all the references

Open
#93,093 2 comments 0 reactions 0 assignees View on GitHub
discussion needs testing topic:editor
Dominant language
C++
Stars
117k
Forks
26.8k
PR merge metrics
PR metrics pending

Description

### Tested versions

- reproduced in 4.2.2

### System information

macos

### Issue description

Resource "Save as..." should change the resource path of current node, but now it change all the references

### Steps to reproduce

1. create a AnimatedSprite and create SpriteFrames
2. save the SpriteFrames to local
3. dumplicate the AnimatedSprite, now they use the same SpriteFrames res
4. do the "save as.." for the resource of one node

expect: the path of the resource of the other one don't change
actual: the paths of the resources of two nodes change to the new path

### Minimal reproduction project (MRP)

the reprocedure is easy

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.