Skip to content

Conversation

J5lx
Copy link
Member

@J5lx J5lx commented Sep 29, 2021

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.

@J5lx
Copy link
Member Author

J5lx commented Sep 29, 2021

Hmm I think I’m still gonna move some code around here…

@J5lx J5lx marked this pull request as draft September 29, 2021 13:51
@J5lx J5lx force-pushed the enhancements/no-default-vector branch from c63b4ef to be339cd Compare September 29, 2021 14:10
@J5lx J5lx marked this pull request as ready for review September 29, 2021 14:17
@J5lx
Copy link
Member Author

J5lx commented Sep 29, 2021

Good to go now. I got rid of Object::createDefaultLayers, IMO the concept of default layers doesn’t make much sense in core_lib.

@MrStevns
Copy link
Member

MrStevns commented Sep 29, 2021

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?

@J5lx
Copy link
Member Author

J5lx commented Sep 29, 2021

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?

@Jose-Moreno
Copy link
Member

Jose-Moreno commented Sep 29, 2021

@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.

@J5lx
Copy link
Member Author

J5lx commented Sep 29, 2021

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.

@scribblemaniac
Copy link
Member

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.

@J5lx
Copy link
Member Author

J5lx commented Sep 30, 2021

I don't think that this requires a new setting for add it back

That’s something we talked about actually since that was my thought as well:

[20:38] JoseMoreno: I mean the current one is called default. We could ship two called "Bitmap Animation" and "Vector Animation" and leave the default as Bitmap.
[20:38] JoseMoreno: new users won't know better and veteran users know they can add it back
[20:39] JoseMoreno: at least until the titans have been defeated
[20:39] JoseMoreno: and we can tackle the vector system as a whole
[20:41] Jakob: Do you think we really need a vector animation template with the current state of the vector engine?
[20:41] Jakob: I feel like that is also something that could trick users into using the vector engine
[20:41] JoseMoreno: while it's subpar there are people that still use it
[20:41] Jakob: users who don’t know about the state of the vector engine
[20:42] Jakob: okay
[20:42] JoseMoreno: last time I had a ... small quibble with user that is dedicated to preach about Pencil2D's vector system
[20:42] JoseMoreno: saying it's more useful than what we let out
[20:42] Jakob: haha
[20:42] JoseMoreno: I got mad and told them that were didn't want to promote the use of WIP tech
[20:42] Jakob: maybe we should just call it “Vector Animation (experimental)” or something then (edited)
[20:42] JoseMoreno: that's fine

@chchwy
Copy link
Member

chchwy commented Sep 30, 2021

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 second that.

@chchwy chchwy added this to the 0.7.0 milestone Oct 22, 2021
@chchwy
Copy link
Member

chchwy commented Oct 22, 2021

I made a PR for this PR here: J5lx#5

@J5lx
Copy link
Member Author

J5lx commented Oct 23, 2021

Merged just now.

@chchwy chchwy merged commit c7f820b into pencil2d:master Oct 25, 2021
@J5lx J5lx deleted the enhancements/no-default-vector branch June 18, 2022 16:59
@MrStevns MrStevns modified the milestones: 0.7.0, v0.6.7 Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

5 participants