Hxuejie / cocos2d-windows-particle-editor

Automatically exported from code.google.com/p/cocos2d-windows-particle-editor
0 stars 0 forks source link

打开文件时没有读取SourcePositionX和SourcePositionY #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. 打开一个以前保存好的plist文件

What is the expected output? What do you see instead?
期望在右侧看到正确的SourcePositionX和SourcePositionY。
实际上看到两者都是0。

What version of the product are you using? On what operating system?
最新版2.0.7,在Windows 7上。

Please provide any additional information below.
我看了你的源码:ParticleEditor/ParticleSystem.cs第423行开始的2行��
�码

SourcePositionX = ReadFloat(dict, "sourcePositionx");
SourcePositionY = ReadFloat(dict, "sourcePositiony");

应该去掉注释。否则打开时就不会读这2个值。

Original issue reported on code.google.com by xat...@gmail.com on 28 Jun 2013 at 2:07