mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-23 22:29:41 +08:00

Since we don't have a selector in the prepare stage anymore, solidview must be invisible CURA-5829
20 lines
445 B
Python
20 lines
445 B
Python
# Copyright (c) 2015 Ultimaker B.V.
|
|
# Cura is released under the terms of the LGPLv3 or higher.
|
|
|
|
from . import SolidView
|
|
|
|
from UM.i18n import i18nCatalog
|
|
i18n_catalog = i18nCatalog("cura")
|
|
|
|
def getMetaData():
|
|
return {
|
|
"view": {
|
|
"name": i18n_catalog.i18nc("@item:inmenu", "Solid view"),
|
|
"weight": 0,
|
|
"visible": False
|
|
}
|
|
}
|
|
|
|
def register(app):
|
|
return { "view": SolidView.SolidView() }
|