Skip to content

Commit

Permalink
[#D3D-4951] Removes MessageDialog causing crash on R21
Browse files Browse the repository at this point in the history
  • Loading branch information
loicSketchfab committed Dec 19, 2019
1 parent f968d7e commit 5d65cdd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sketchfab/ui_exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,11 @@ def Main(self):
model_id = result["uid"]
g_uploaded = True
# Open website on model page
"""
result = gui.MessageDialog("Your model was succesfully uploaded to Sketchfab.com.\nClick OK to open the browser on your model page", c4d.GEMB_OKCANCEL)
if result == c4d.GEMB_R_OK:
webbrowser.open(Config.SKETCHFAB_URL + '/models/' + model_id)
"""

# Clean up
self.cleanup_files([zipName + ".zip", exportDirectory])
Expand Down

0 comments on commit 5d65cdd

Please sign in to comment.