ohzi-core 6.7.0 → 6.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ohzi-core",
3
- "version": "6.7.0",
3
+ "version": "6.8.0",
4
4
  "description": "OHZI Core Library",
5
5
  "source": "src/index.js",
6
6
  "module": "build/index.module.js",
@@ -180,7 +180,7 @@ export default class UIElement extends Mesh
180
180
  {
181
181
  this.material.uniforms._MainTex.value.dispose();
182
182
  }
183
- // Screen.remove_screen_material(this.material);
183
+ // OScreen.remove_screen_material(this.material);
184
184
  this.geometry.dispose();
185
185
  this.material.dispose();
186
186
  }
@@ -1,5 +1,4 @@
1
1
  import ResourceContainer from '../ResourceContainer';
2
- import DrawIOAnimationSheet from './transition/DrawIOAnimationSheet';
3
2
  import ViewManager from './ViewManager';
4
3
  import ViewState from './ViewState';
5
4
 
@@ -12,7 +11,12 @@ export default class ApplicationView extends ViewState
12
11
  this.container = container;
13
12
  this.url = url;
14
13
 
15
- const transition_data = new DrawIOAnimationSheet().parse(ResourceContainer.get(`${name}_data`));
14
+ let transition_data = ResourceContainer.get(`${name}_data`);
15
+
16
+ transition_data = transition_data || {
17
+ animation_tracks: [],
18
+ triggers: []
19
+ };
16
20
 
17
21
  const transitions = [
18
22
  {