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:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user