Fix select all with partial selection

This commit is contained in:
Francesco Bellini 2024-09-14 00:39:47 +02:00
parent 82701bb3b0
commit be6456975d
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
schema_version = "1.0.0" schema_version = "1.0.0"
id = "scene_workspaces" id = "scene_workspaces"
version = "1.1.0" version = "1.1.1"
name = "Scene Workspaces" name = "Scene Workspaces"
tagline = "Filter and sort your workspaces, scene by scene" tagline = "Filter and sort your workspaces, scene by scene"
maintainer = "Francesco Bellini <doc.open.dev@gmail.com>" maintainer = "Francesco Bellini <doc.open.dev@gmail.com>"

View File

@ -69,7 +69,7 @@ def select_all():
workspaces = templates workspaces = templates
else: else:
for w in bpy.data.workspaces: for w in bpy.data.workspaces:
if w not in workspaces: if w.name not in workspaces:
workspaces.append(w.name) workspaces.append(w.name)
set_scene_workspaces(workspaces) set_scene_workspaces(workspaces)