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

Fix External Page Export #422

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DoobesURU
Copy link
Contributor

Small fix to stop pages set to External from triggering the "invalid page" error.

* Small fix to stop pages set to External from triggering the "invalid page" error.
@@ -213,7 +213,7 @@ def _collect_objects(self):

if (default_enabled and not page) or (page in pages_enabled):
self._objects.append(obj)
elif page not in all_pages or page in external_pages:
elif page not in all_pages or page not in external_pages:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is correct as-is. What this is supposed to be doing is checking that all of the Plasma Objects are in pages that exists in the Plasma Age panel. If not, it reports that object as being in an invalid page. Further, we check if the object is in an external page. If it is, that's also an error because external pages are, by definition, not supposed to be created or touched by Korman, so no object in the blend file should be in an external page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants