mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-03 16:58:24 +02:00
Add explicit backend between standalone and pyside
This commit is contained in:
parent
aacdf32915
commit
931ad23f50
3 changed files with 20 additions and 2 deletions
|
@ -0,0 +1,12 @@
|
|||
from enum import Enum # available by default in python3. For python2: "pip install enum34"
|
||||
|
||||
class Backend(Enum):
|
||||
STANDALONE = 1
|
||||
PYSIDE = 2
|
||||
|
||||
backend = Backend.STANDALONE
|
||||
|
||||
def useUI():
|
||||
global backend
|
||||
backend = Backend.PYSIDE
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue