@awayjs/scene 0.13.247 → 0.13.248

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.
@@ -1,7 +1,7 @@
1
1
  import { Sprite } from './Sprite';
2
2
  import { TextField } from './TextField';
3
3
  import { TesselatedFontTable } from '../text/TesselatedFontTable';
4
- import { HierarchicalProperty, IEntityTraverser } from '@awayjs/view';
4
+ import { HierarchicalProperty } from '@awayjs/view';
5
5
 
6
6
  /**
7
7
  * TextSprite is used for masked text.
@@ -10,7 +10,8 @@ import { HierarchicalProperty, IEntityTraverser } from '@awayjs/view';
10
10
  export class TextSprite extends Sprite {
11
11
  public parentTextField: TextField;
12
12
 
13
- public _acceptTraverser(traverser: IEntityTraverser): void {
13
+ public _iInternalUpdate(): void {
14
+ super._iInternalUpdate();
14
15
  const tf: TextField = this.parentTextField;
15
16
  //tf.reConstruct(true);
16
17
 
@@ -18,7 +19,5 @@ export class TextSprite extends Sprite {
18
19
  this.transform.colorTransform.color = (tf.textColor != null) ? tf.textColor : tf._textFormat.color;
19
20
  this._invalidateHierarchicalProperty(HierarchicalProperty.COLOR_TRANSFORM);
20
21
  }
21
-
22
- this._graphics._acceptTraverser(traverser);
23
22
  }
24
23
  }
@@ -1,6 +1,6 @@
1
1
  import { Point, Vector3D, EventBase } from '@awayjs/core';
2
2
 
3
- import { EntityNode, ContainerNode, INode, ITraversable, View, IPartitionContainer } from '@awayjs/view';
3
+ import { ContainerNode, INode, ITraversable, View, IPartitionContainer } from '@awayjs/view';
4
4
 
5
5
  import { IMaterial } from '@awayjs/renderer';
6
6
  import FrameScriptManager from '../managers/FrameScriptManager';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awayjs/scene",
3
- "version": "0.13.247",
3
+ "version": "0.13.248",
4
4
  "description": "AwayJS scene classes",
5
5
  "main": "bundle/awayjs-scene.umd.js",
6
6
  "module": "dist/index.js",