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

Ability to lock individual objects #828

Open
iam-jim opened this issue Nov 20, 2014 · 4 comments
Open

Ability to lock individual objects #828

iam-jim opened this issue Nov 20, 2014 · 4 comments
Labels
Projects

Comments

@iam-jim
Copy link

@iam-jim iam-jim commented Nov 20, 2014

Locking individual objects can also come handy. Though setting visible to false works, but then, if the object is invisible no way to select or move it, without searching and selecting it from object layers.

@bjorn
Copy link
Member

@bjorn bjorn commented Nov 20, 2014

Hmm, I think this would get too fiddly. Once #734 is implemented one could just move objects you want to have locked to a locked layer, right?

@iam-jim
Copy link
Author

@iam-jim iam-jim commented Nov 20, 2014

Yah, that would be just fine. Then There should be some shortcut (keys) to move objects to different layers and easily.

@bjorn bjorn added the feature label Mar 15, 2017
@bjorn bjorn added this to Tiled 1.1 in Roadmap Mar 28, 2017
@bjorn bjorn moved this from Tiled 1.1 to Future in Roadmap Sep 6, 2017
@bjorn bjorn changed the title Ability to lock individual objects. Ability to lock individual objects Aug 5, 2019
@Phlosioneer
Copy link
Contributor

@Phlosioneer Phlosioneer commented Dec 30, 2019

Is there still interest in this feature for Tiled? Now that scripting is becoming more integrated, the ability for scripts to create objects, then lock them so the user doesn't mess with them, could be quite useful. It sets up a situation where those objects are sorta "owned" by the script.

Of course the user could unlock them, but that's explicitly saying "I know better than the script". Right now, if a script wants to set up e.g. 4 objects adjacent to each other, and then keep them together as it moves them around, it's still possible for the user to totally mess that up by accidentally selecting an object.

@bjorn
Copy link
Member

@bjorn bjorn commented Dec 30, 2019

@Phlosioneer I guess the script could put such objects in a locked layer, but in general I don't see any harm in supporting locking also at the object level. This should probably change the structure of the Objects view in a similar way as was done for the Layers view when locking was introduced (needing additional columns because we can no longer rely on the checkbox state of the single column). That would be a welcome change for consistency as well anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Roadmap
  
Future
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants