2025-12-01

This commit is contained in:
2026-03-17 14:58:51 -06:00
parent 183e865f8b
commit 4b82b57113
6846 changed files with 954887 additions and 162606 deletions
@@ -100,6 +100,10 @@ class POLIIGON_OT_preview(Operator):
f"download: {download_time}")
cTB.logger.debug(f"POLIIGON_OT_preview {debug_str}")
# Set the flag that user has used watermarked preview
cTB.set_onboarding_wm_preview_done()
save_settings(cTB)
cTB.signal_preview_asset(asset_id=self.asset_id)
return res
@@ -355,6 +359,8 @@ class POLIIGON_OT_popup_first_preview(Operator):
@reporting.handle_operator(silent=True)
def execute(self, context):
cTB.settings["popup_preview"] = 1
# Set the flag that user has used watermarked preview
cTB.set_onboarding_wm_preview_done()
save_settings(cTB)
cTB.signal_popup(popup="ONBOARD_WMPREVIEW", click="ONBOARD_WMPREVIEW")
bpy.ops.poliigon.poliigon_preview(asset_id=self.asset_id)