From 5fa01daf9ec4cf518ccf156b081fba4784f39d27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Tue, 2 Jan 2018 14:11:30 +0100 Subject: [PATCH] Revisit previous path when re-opening texture browser. --- CHANGELOG.md | 1 + blender_cloud/texture_browser.py | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index bc6c59c..b600509 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - Distinguish between 'please subscribe' (to get a new subscription) and 'please renew' (to renew an existing subscription). +- When re-opening the Texture Browser it now opens in the same folder as where it was when closed. ## Version 1.7.5 (2017-10-06) diff --git a/blender_cloud/texture_browser.py b/blender_cloud/texture_browser.py index 0eaf5d1..46e6e95 100644 --- a/blender_cloud/texture_browser.py +++ b/blender_cloud/texture_browser.py @@ -552,6 +552,7 @@ class BlenderCloudBrowser(pillar.PillarOperatorMixin, def browse_assets(self): self.log.debug('Browsing assets at %r', self.current_path) + bpy.context.window_manager.last_blender_cloud_location = str(self.current_path) self._new_async_task(self.async_download_previews()) def draw_menu(self, context):