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

Make Inactive Chapters also Disable their corresponding scenes. #2188

Open
AlanDunaway opened this issue Jan 14, 2025 · 3 comments
Open

Make Inactive Chapters also Disable their corresponding scenes. #2188

AlanDunaway opened this issue Jan 14, 2025 · 3 comments
Labels
enhancement Request: New feature or improvement

Comments

@AlanDunaway
Copy link

I'm always frustrated when I disable a chapter(set it to inactive) and it still is exported due to the corresponding scenes being active. I'd like to suggest that, when disabling a chapter, its corresponding scenes should not be exported(should be disabled), since the chapter itself is disabled.
Tried using the export menu, but it's too much of a hassle with multiple chapters.
Is there any chance of getting that one done?

@AlanDunaway AlanDunaway added the enhancement Request: New feature or improvement label Jan 14, 2025
@vkbo
Copy link
Owner

vkbo commented Jan 14, 2025

What do you mean by "export menu"?

You can select a range of items by clicking the first item, and then holding shift and clicking the last item. You can then right click the selection and toggle the active/inactive status of all selected items.

image

@AlanDunaway
Copy link
Author

What do you mean by "export menu"?

You can select a range of items by clicking the first item, and then holding shift and clicking the last item. You can then right click the selection and toggle the active/inactive status of all selected items.

image

Export menu=Build Window
Also, what you showed works for few scenes. But, if you have lots of scenes(like 30+) per chapter, it ends up becoming a chore.
In the build menu, you can also set scenes/chapter to be active/inactive, but would be nice to have a general toggle, specially if you use touchpad instead of a normal mouse.

@vkbo
Copy link
Owner

vkbo commented Jan 15, 2025

I can change the menu so that it always shows the "Set Active to ..." menu and explicit options. I can then add a version of each that is also recursive. My main concern with such features is that they are quite risky if you click it by mistake and you can't remember what state the sub-elements were in to restore them, so I would like to have a dialog box confirming that you want to overwrite the setting for all items.

Alternatively, I can keep the menu as it is, but if the selected item has child items, ask if it should also apply to them. The dialog would not show up on single items with no child items.

As for having many scenes, that shouldn't really matter since you only have to click the first and last one to select them all. If you expand the chapters you can do the same across multiple chapters.

I'm also wondering what your use case is here. Are you trying to build just one chapter at a time? There is a planned feature for that where you can just right-click any document in the project and build directly. It hasn't been added yet, but it is queued up for the 2.7 release for the moment. It's #1001.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Request: New feature or improvement
Projects
None yet
Development

No branches or pull requests

2 participants