@@ -30,7 +30,7 @@ export let defaultConfiguration: ViewerConfiguration = {
viewer: {
html: require("../../../assets/templates/default/defaultViewer.html"),
params: {
- disableDragAndDrop: false
+ enableDragAndDrop: false
}
},
navBar: {
@@ -47,9 +47,7 @@ export class DefaultViewer extends AbstractViewer {
if (this.configuration.templates && this.configuration.templates.viewer) {
- if (this.configuration.templates.viewer.params && this.configuration.templates.viewer.params.disableDragAndDrop) {
- // noop for now
- } else {
+ if (this.configuration.templates.viewer.params && this.configuration.templates.viewer.params.enableDragAndDrop) {
let filesInput = new FilesInput(this.engine, this.sceneManager.scene, () => {
}, () => {