Forbid terrain property animation (#6595)

* 修复插值计算的错误

* 修复weightmap再rebuild后出的错误

* 禁止地形属性动画
This commit is contained in:
Myway
2020-04-22 18:50:40 +08:00
committed by GitHub
parent f5a884f836
commit a4bddb5ab1
+4
View File
@@ -587,22 +587,26 @@ export class Terrain extends Component {
@property({
type: TerrainAsset,
visible: false,
animatable: false,
})
protected __asset: TerrainAsset|null = null;
@property({
type: TerrainLayer,
visible: true,
animatable: false,
})
protected _layers: Array<TerrainLayer|null> = [];
@property({
visible: false,
animatable: false,
})
protected _blockInfos: TerrainBlockInfo[] = [];
@property({
visible: false,
animatable: false,
})
protected _lightmapInfos: TerrainBlockLightmapInfo[] = [];