[ui] Viewer3D: minor fixes

* remove unneeded hack to clear the SceneLoader
* don't display sfm checkbox if alembicPlugin is not available
This commit is contained in:
Yann Lanthony 2018-08-01 18:34:57 +02:00
parent 7ff4100396
commit c0c28b5dcf

View file

@ -127,7 +127,6 @@ FocusScope {
function clearScene()
{
source = 'no_file' // only way to force unloading of valid scene
source = ''
}
@ -447,6 +446,7 @@ FocusScope {
Column {
Row {
visible: root.supportAlembic
CheckBox { id: showSfMCheckBox; text: "SfM"; checked: true; visible: root.supportAlembic; opacity: root.abcSource ? 1.0 : 0.6 }
ToolButton {
text: MaterialIcons.clear; font.family: MaterialIcons.fontFamily; visible: root.abcSource != '';