-
Notifications
You must be signed in to change notification settings - Fork 288
Create no vector layer by default #1666
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
Conversation
03d7723
to
c63b4ef
Compare
Hmm I think I’m still gonna move some code around here… |
c63b4ef
to
be339cd
Compare
Good to go now. I got rid of |
Hmm what about a default camera layer though? We have all sorts of code that expects the camera layer to be there, otherwise the application will crash. So does it make sense to make the client always do that when it's a requirement for the core to work properly? |
That’s a fair point, although it’s not directly related to the changes in this PR. The only thing that’s changed is that now the client needs to call addNewCameraLayer() instead of createDefaultLayers(), which is essentially a zero-sum change in that regard. It’d probably still be a good idea to better document and enforce requirements like that, but I’m not sure if it’s in scope for this PR. Thoughts? |
@J5lx When you mention keeping the vector layer and enabling it in preferences you're refering to the project presets? or are you going to remove the ability to add a vector layer? If it's the former I have no issue with it. If it's the latter I'd say it's more hassle to remove everything and activate it via preferences. We shouldn't force users who are actually using the vector system to go out of their way to re-enable it. I think a simple change in the default preset, and giving them an additional preset with the original layout is enough. |
Don’t worry, users can always easily add new vector layers. This PR only changes whether a vector layer is included in the default setup that you get when you create a new blank project. |
I fully support removing the vector layer from the default startup project. However I don't think that this requires a new setting for add it back. If someone wants a vector layer in their default file, they can create a preset for that, that's what the whole preset system is for. I don't have a strong opinion for where the code for the default layers should be currently, there are points for both sides. |
That’s something we talked about actually since that was my thought as well:
|
I second that. |
I made a PR for this PR here: J5lx#5 |
Merged just now. |
Something I discussed with Jose on Discord a few days ago. We keep directing people away from vector since it’s in a bad state, so let’s remove the vector layer from the default setup until such time as we get it into shape again. Users who want to keep the default vector layer can enable it in the preferences.