Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jinguoliang opened this issue Jun 12, 2024 · 2 comments

Comments

@jinguoliang
Copy link

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

@aGuyWhoMadeGames
Copy link

This is the intended behavior. If you want the two nodes to reference two different resources, click the "Make Unique" or "Make Unique (Recursive)" button first.

@jinguoliang
Copy link
Author

jinguoliang commented Jun 13, 2024

This is the intended behavior. If you want the two nodes to reference two different resources, click the "Make Unique" or "Make Unique (Recursive)" button first.

this can solve my problem.

After I click "Make Unique", if don't save current scene, the "Save" and "Save as" has same effect, open save dialog.
If save current scene, Save will save the change for current scene.

About "Save as..", I think it should show only the resource file is unique.

Sorry, I think there are some misunderstand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants