mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
Forbid terrain property animation (#6595)
* 修复插值计算的错误 * 修复weightmap再rebuild后出的错误 * 禁止地形属性动画
This commit is contained in:
@@ -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[] = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user