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

Duplicating working in double #76657

Closed
Sethyh opened this issue May 1, 2023 · 4 comments
Closed

Duplicating working in double #76657

Sethyh opened this issue May 1, 2023 · 4 comments

Comments

@Sethyh
Copy link

Sethyh commented May 1, 2023

Godot version

Godot 4.02

System information

Windows 11, Godot Engine v4.0.2.stable.official.7a0977ce2, Vulkan API 1.3.236 - Forward+ - Using Vulkan, NVIDIA - NVIDIA GeForce GTX 1050 Ti

Issue description

When I duplicate some nodes (path2D, in example), both of them apply the changes that I make in one of them.

Steps to reproduce

Steps:

  • create a Path2D with 2 or more points
  • duplicate it
  • move the copy to another position
  • try change a point position or insert/remove a point

Minimal reproduction project

N/A

@HerrSersch
Copy link
Contributor

This is intended. It happens because they share the same Curve2D resource. To unlink the two curves, select one of your two curves, then go to the Inspector, right click the Curve2D Resource and select Make Unique.

The same principle applies to other nodes that use Resources, like the CollisionShape2D for example.

@AThousandShips
Copy link
Member

AThousandShips commented May 2, 2023

This is indeed intended, there was someone suggesting a warning for this but can't find it right now

Related: godotengine/godot-proposals#904

@Calinou
Copy link
Member

Calinou commented May 2, 2023

Closing per the above comments.

@Calinou Calinou closed this as not planned Won't fix, can't repro, duplicate, stale May 2, 2023
@Sethyh
Copy link
Author

Sethyh commented May 2, 2023

This is intended. It happens because they share the same Curve2D resource. To unlink the two curves, select one of your two curves, then go to the Inspector, right click the Curve2D Resource and select Make Unique.

The same principle applies to other nodes that use Resources, like the CollisionShape2D for example.

Thanks for help (^_^)v

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

4 participants