F3XTeam / RBX-Building-Tools

A set of powerful, easy building tools for ROBLOX.
41 stars 22 forks source link

Add duplicate detection #29

Closed GigsD4X closed 7 years ago

GigsD4X commented 10 years ago

Parts that are accidentally cloned and forgotten inside other parts should be highlighted to prevent duplicates.

AnonymousPrayers commented 10 years ago

This could possibly use a Region3 the size of the part. It would be limited, but it would certainly be better than nothing.

AnonymousPrayers commented 9 years ago

Working on a possible solution.

GigsD4X commented 9 years ago

You know how to implement this? Just connect to Selection.ItemAdded, check if there's duplicates (same CFrame), bring up a small, ignorable but noticeable notification GUI that tells you there's duplicates and gives you the option to delete them.

AnonymousPrayers commented 9 years ago

Idk how the guis on this thing work.

On Wed, Jul 8, 2015 at 7:32 PM -0700, "Robert" notifications@github.com wrote: You know how to implement this? Just connect to Selection.ItemAdded, check if there's duplicates (same CFrame), bring up a small, ignorable but noticeable notification GUI that tells you there's duplicates and gives you the option to delete them.


Reply to this email directly or view it on GitHub: https://github.com/F3XTeam/ROBLOX-Building-Tools/issues/29#issuecomment-119791579

GigsD4X commented 9 years ago

Just create a GUI template, put it under Interfaces, and parent it to the UI root from your code :p

AnonymousPrayers commented 9 years ago

Besides, same CFrame doesn't instantly mean duplicate. Checking for same CFrame and same Size would be better. I could have a 5, 1, 1 and a 1, 1, 5 part with the same CFrame (and I have before, too), and it isn't the same part.

On Wed, Jul 8, 2015 at 7:32 PM -0700, "Robert" notifications@github.com wrote: You know how to implement this? Just connect to Selection.ItemAdded, check if there's duplicates (same CFrame), bring up a small, ignorable but noticeable notification GUI that tells you there's duplicates and gives you the option to delete them.


Reply to this email directly or view it on GitHub: https://github.com/F3XTeam/ROBLOX-Building-Tools/issues/29#issuecomment-119791579

AnonymousPrayers commented 9 years ago

Here was my original idea... clone.Archivable = falselocal listener = clone.Changed:connect(function()listener:disconnect()clone.Archivable = trueend) So it's there, but doesn't save if it remains unchanged. Even checking size and CFrame won't work, as people will occasionally have parts of the same size and CFrame but one not visible, or something like that, intentinally. If it remains unchanged, then you know it's not intentional. I still don't get the GUIs (how to make the template mainly), so yeah. Besides, it might be better if it was automatic.

On Wed, Jul 8, 2015 at 7:35 PM -0700, "Robert" notifications@github.com wrote: Just create a GUI template, put it under Interfaces, and parent it to the UI root from your code :p


Reply to this email directly or view it on GitHub: https://github.com/F3XTeam/ROBLOX-Building-Tools/issues/29#issuecomment-119792309