-
Notifications
You must be signed in to change notification settings - Fork 263
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
Get/Set Drawing properties has issues with Copied Maps #2433
Comments
Using right-click Get Drawing ID on the original and cloned drawing will produce the same ID though the Map IDs are different. |
It looks like all the DrawnElement collections on the Zone have the same problem: drawables, objectDrawables, backgroundDrawables, and gmDrawables. These could all be fixed at the same time. The main thing here is that DrawnElement contains an interface Drawable. Implementing Cloneable on Drawable things would allow them to all be cloned without a huge block of type checks. The only real gotcha that I see is that ShapeDrawable contains the |
@raygun321 so is this you volunteering to fix it? Don't forget that drawings can be grouped via the Draw Explorer. |
Describe the bug
When making a copy of a map, using the Draw Explorer to get and set drawing properties on one map affects the copy and vice versa
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The maps, once copied, should be divorced from one another. While this functionality could be a cool "Feature" for some, it seems unexpected and counter-intuitive.
MapTool Info
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: