Files
workinf_Blender_Wasm/blender-5.2.0/tests/python/overlay/modes-gen.py
2026-08-12 04:47:48 -04:00

20 lines
436 B
Python

# SPDX-FileCopyrightText: 2025 Blender Authors
#
# SPDX-License-Identifier: Apache-2.0
import os
import sys
import bpy
sys.path.append(os.path.dirname(__file__))
import overlay_common
bpy.context.window.workspace = bpy.data.workspaces['Test']
ob = bpy.context.active_object
space = bpy.data.screens["Default"].areas[0].spaces[0]
permutations = overlay_common.ob_modes_permutations(ob, space)
overlay_common.run_test(permutations)