From 0039fb17ab888b28e20a9ce78f7846cc596da710 Mon Sep 17 00:00:00 2001 From: Eugenio Romano Date: Mon, 23 Oct 2017 12:18:36 +0100 Subject: [PATCH] fix 3D viewer --- demo-shell-ng2/package.json | 2 +- demo-shell-ng2/src/app/app.module.ts | 5 ++--- .../src/app/components/file-view/file-view.component.html | 6 +++++- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/demo-shell-ng2/package.json b/demo-shell-ng2/package.json index d7306ad88a..36d7fa0bd2 100644 --- a/demo-shell-ng2/package.json +++ b/demo-shell-ng2/package.json @@ -42,7 +42,7 @@ "material-design-lite": "1.2.1", "minimatch": "3.0.4", "moment": "2.15.1", - "ng2-3d-editor": "0.0.15", + "ng2-3d-editor": "0.0.18", "alfresco-js-api": "1.9.0", "ng2-activiti-analytics": "1.9.0", "ng2-activiti-diagrams": "1.9.0", diff --git a/demo-shell-ng2/src/app/app.module.ts b/demo-shell-ng2/src/app/app.module.ts index bbead8d6d8..c75e29f09c 100644 --- a/demo-shell-ng2/src/app/app.module.ts +++ b/demo-shell-ng2/src/app/app.module.ts @@ -4,9 +4,8 @@ import { FormsModule } from '@angular/forms'; import { HttpModule } from '@angular/http'; import { MatInputModule } from '@angular/material'; import { FlexLayoutModule } from '@angular/flex-layout'; -// import { Editor3DModule } from 'ng2-3d-editor'; +import { Editor3DModule } from 'ng2-3d-editor'; import { ChartsModule } from 'ng2-charts'; -// import { Viewer3DComponent } from './../../node_modules/ng2-3d-editor/src/componets/viewer3D.component'; import { AppConfigService, TRANSLATION_PROVIDER } from 'ng2-alfresco-core'; import { AppComponent } from './app.component'; @@ -80,7 +79,7 @@ import { routing } from './app.routes'; MaterialModule, ThemePickerModule, FlexLayoutModule, - // Editor3DModule, + Editor3DModule, ChartsModule, ], providers: [ diff --git a/demo-shell-ng2/src/app/components/file-view/file-view.component.html b/demo-shell-ng2/src/app/components/file-view/file-view.component.html index a814df3341..814955641d 100644 --- a/demo-shell-ng2/src/app/components/file-view/file-view.component.html +++ b/demo-shell-ng2/src/app/components/file-view/file-view.component.html @@ -1,5 +1,9 @@ -ยง--> + + + + +