dialogic-godot / dialogic

💬 Create Dialogs, Visual Novels, RPGs, and manage Characters with Godot to create your Game!
https://dialogic.pro
MIT License
3.93k stars 235 forks source link

Deleting Current Layer #1961

Open ostsergey opened 10 months ago

ostsergey commented 10 months ago

The problem

Describe the bug There are a lot of errors when deleting folders with "Current Layer". How can I remove them if I don’t use them and, in theory, the plugin doesn’t use them either?

To Reproduce Steps to reproduce the behavior:

  1. Go to Dialogue Menu
  2. Create Style
  3. Make custom "Current Layer"
  4. Save to the desired folder
  5. Delete this style or not use this style
  6. Delete folder with current layer
  7. See many errors

System (please complete the following information):

Jowan-Spooner commented 10 months ago

Hey, @ostsergey I assume you are not using the alpha 11 release but instead a version downloaded from the main branch recently, right?

Also is it possible you only removed the style from the style list but did not delete the actual style resource from the style subsystem?

When I try to delete a folder with layers that are still in use, godot warns me, otherwise I can delete it just fine.

If it's not the above reason, could you copy or screenshot the errors you are getthing and post them here?

ostsergey commented 10 months ago

Hello. I remove the actual location of unused layers. This led to errors. Then I removed it from the style too (although it works quite strangely, but ok). Now I'll post a screenshot, and it was taken in the following circumstances: there is not a single style in the project that would use this layer. But for some reason it is loaded with something. 2023-12-19_23-09-57

2023-12-19_23-10-32

2023-12-19_23-10-40