Commit 5158cb58 authored by shanqiyun's avatar shanqiyun

Merge

parents 45716ba5 87b32674
......@@ -110,7 +110,13 @@ class StageActuator extends Component {
return dataItem;
}, fmtData => {
if (fmtData.type === ELEMENT_TYPE.PARTICLE) {
this.addParticle({ userData: fmtData, position: fmtData.basicAttr['position'],data: particles[fmtData.reference] });
this.addParticle({
userData: fmtData,
position: fmtData.basicAttr.position,
rotation: fmtData.basicAttr.rotation,
scale: fmtData.basicAttr.scale,
data: particles[fmtData.reference]
});
}
if (fmtData.type === ELEMENT_TYPE.PEN) {
this.a3dRef.newPen({ ...routePath[fmtData.reference],userData: fmtData });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment