Allow project selection, even when the current project is ''.

This commit is contained in:
Sybren A. Stüvel 2019-02-13 14:29:36 +01:00
parent 65a05403dc
commit 25b6053836

View File

@ -410,7 +410,7 @@ class BlenderCloudPreferences(AddonPreferences):
projects = bcp.available_projects
project = bcp.project
if bcp.status in {'NONE', 'IDLE'}:
if not projects or not project:
if not projects:
row_buttons.operator('pillar.projects',
text='Find project to load',
icon='FILE_REFRESH')