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

Scene Debugger followup PR #253

Merged

Conversation

Exairnous
Copy link
Contributor

@Exairnous Exairnous commented Dec 11, 2023

Displays the forced export options to the user in the UI along with the reasoning behind the hard-coded values in their tooltips and adds support for Blender versions below 3.2.

Depends on #249

Before:
2023-12-11_20-36

After:
2023-12-11_20-31

@Exairnous Exairnous force-pushed the experimental/viewer-followup branch from dba1b98 to 4478ee0 Compare December 12, 2023 13:25
@keianhzo
Copy link
Contributor

keianhzo commented Dec 13, 2023

Hey @Exairnous this looks good to me, can you rebase with the latest master and fix the conflicts? Thanks!

Display the forced glTF export parameters with their values in the UI
of the scene debugger and include the reasoning on why they are forced
to that state in their tooltips.
Do not add `use_active_scene` to the export parameters or show it in
the UI for Blender versions below 3.2 because these versions don't
support it.
@Exairnous Exairnous force-pushed the experimental/viewer-followup branch from 4478ee0 to 4a4d630 Compare December 13, 2023 12:41
@Exairnous
Copy link
Contributor Author

Rebased. Thanks!

@keianhzo keianhzo self-requested a review December 13, 2023 15:01
Copy link
Contributor

@keianhzo keianhzo left a comment

Choose a reason for hiding this comment

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

LGTM

}
if bpy.app.version >= (3, 2, 0):
Copy link
Contributor

Choose a reason for hiding this comment

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

Just curious does this do any harm if < 3.2.0? Does it crash?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The use_active_scene export option isn't present in the glTF add-on in Blender versions under 3.2, so trying to include it causes the export to fail in those versions.

@keianhzo keianhzo merged commit d69f5c5 into Hubs-Foundation:master Dec 13, 2023
6 checks passed
@keianhzo keianhzo added this to the 1.3.0 milestone Dec 18, 2023
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