This commit is contained in:
Andrej730
2025-05-12 13:09:37 +05:00
parent d1be660469
commit e2c1a54e0a
2 changed files with 2 additions and 0 deletions
@@ -1401,6 +1401,7 @@ class ActivateBcfViewpoint(bpy.types.Operator):
self.hide_spaces(context)
def hide_spaces(self, context: bpy.types.Context) -> None:
assert context.area
old = context.area.type
context.area.type = "VIEW_3D"
bpy.ops.object.select_all(action="DESELECT")
+1
View File
@@ -1060,6 +1060,7 @@ class Model(bonsai.core.tool.Model):
if not refresh and element.id() in AuthoringData.type_thumbnails:
return # Already processed
assert isinstance(obj, bpy.types.Object)
obj.asset_generate_preview()
while not obj.preview:
pass