Revisit previous path when re-opening texture browser.

This commit is contained in:
Sybren A. Stüvel 2018-01-02 14:11:30 +01:00
parent 77664fb6d7
commit 5fa01daf9e
2 changed files with 2 additions and 0 deletions

View File

@ -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)

View File

@ -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):