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 #2253 - distinct import & export draw #2313

Merged
merged 1 commit into from
Sep 12, 2024
Merged

Fix #2253 - distinct import & export draw #2313

merged 1 commit into from
Sep 12, 2024

Conversation

julienduroure
Copy link
Collaborator

Fix #2253 - distinct import & export draw

@julienduroure julienduroure added this to the Blender 4.2 LTS milestone Aug 13, 2024
@julienduroure julienduroure marked this pull request as ready for review August 30, 2024 04:35
@julienduroure julienduroure merged commit c8a1929 into main Sep 12, 2024
2 checks passed
@julienduroure julienduroure deleted the fix_2253 branch September 12, 2024 09:40
@@ -1008,7 +1008,7 @@ def invoke(self, context, event):
for addon_name in preferences.addons.keys():
try:
if hasattr(sys.modules[addon_name], 'glTF2ExportUserExtension') or hasattr(sys.modules[addon_name], 'glTF2ExportUserExtensions'):
exporter_extension_layout_draw[addon_name] = sys.modules[addon_name].draw
exporter_extension_layout_draw[addon_name] = sys.modules[addon_name].draw if hasattr(sys.modules[addon_name], 'draw_export') else sys.modules[addon_name].draw
Copy link
Member

Choose a reason for hiding this comment

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

Just noticed this line - I think this this should read:

exporter_extension_layout_draw[addon_name] = sys.modules[addon_name].draw_export if hasattr(....

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks, fixed

julienduroure added a commit that referenced this pull request Sep 26, 2024
Fix #2253 - distinct import & export draw
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.

Extensionsused - no longer populated with user extesions - help requested
2 participants