Skip to content

fix #1961 use bpy.context.window.scene instead of bpy.context.scene#2133

Open
kaosat-dev wants to merge 1 commit into
KhronosGroup:mainfrom
kaosat-dev:fix_export_context_scene
Open

fix #1961 use bpy.context.window.scene instead of bpy.context.scene#2133
kaosat-dev wants to merge 1 commit into
KhronosGroup:mainfrom
kaosat-dev:fix_export_context_scene

Conversation

@kaosat-dev

Copy link
Copy Markdown

Hi !
This is a tiny PR to fix #1961
Ensures that the exporter uses bpy.context.window.scene instead of bpy.context.scene
It also fixes additional issues when you create scenes to export dynamically , and bpy.context.scene does not sync with
bpy.context.window.scene (which , unlike the first, is user settable).

Thanks for this fantastic tool btw :)

@CLAassistant

CLAassistant commented Feb 3, 2024

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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.

Export changes the window's scene to the context's active scene.

2 participants