Skip to content

Commit 18f246e

Browse files
committed
Merge pull request #1735 from VisualSJ/develop-3.4final
The positionType error of particleSystem - timelineParser-2.x
2 parents 8571470 + 5645ac3 commit 18f246e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

frameworks/js-bindings/bindings/script/studio/parsers/timelineParser-2.x.js

+1
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@
218218
cc.log("%s need to be preloaded", path);
219219
node = new cc.ParticleSystem(path);
220220
self.generalAttributes(node, json);
221+
node.setPositionType(cc.ParticleSystem.TYPE_GROUPED);
221222
!cc.sys.isNative && node.setDrawMode(cc.ParticleSystem.TEXTURE_MODE);
222223

223224
var blendData = json["BlendFunc"];

0 commit comments

Comments
 (0)