mirror of
https://github.com/tengge1/ShadowEditor.git
synced 2026-01-25 15:08:11 +00:00
修复bug。
This commit is contained in:
parent
c219a14eab
commit
a5bc0a3c30
@ -63,14 +63,12 @@ class FireComponent extends React.Component {
|
||||
|
||||
this.selected = editor.selected;
|
||||
|
||||
var fire = this.selected.userData.fire;
|
||||
|
||||
this.setState({
|
||||
show: true,
|
||||
width: fire.mesh.userData.width,
|
||||
height: fire.mesh.userData.height,
|
||||
depth: fire.mesh.userData.depth,
|
||||
sliceSpacing: fire.mesh.userData.sliceSpacing,
|
||||
width: this.selected.userData.width,
|
||||
height: this.selected.userData.height,
|
||||
depth: this.selected.userData.depth,
|
||||
sliceSpacing: this.selected.userData.sliceSpacing,
|
||||
previewText: this.isPlaying ? L_CANCEL : L_PREVIEW,
|
||||
});
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user