Revert "Fix: Simplify import in VR add-on"

This breaks tests (and the VR addon itself of course).

Needs to be done differently, will create new PR for proper fix.

This reverts commit 0c22ef5ae7.
This commit is contained in:
Bastien Montagne
2025-10-13 14:39:26 +02:00
parent de16ed4e8c
commit c1781eba51

View File

@@ -18,7 +18,11 @@ from bpy.types import (
Panel, Panel,
UIList, UIList,
) )
from bpy.types import VIEW3D_PT_object_type_visibility # Add space_view3d.py to module search path for VIEW3D_PT_object_type_visibility import.
import os.path
import sys
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '../../startup/bl_ui')))
from space_view3d import VIEW3D_PT_object_type_visibility
# Session. # Session.