allow prop tool to parse particle type for tmp

This commit is contained in:
krawthekrow 2018-07-14 02:00:53 -04:00 committed by jacob1
parent d05e4b2d0b
commit d42d7486e7

View File

@ -117,7 +117,7 @@ void PropertyWindow::SetProperty()
else
{
int type;
if (properties[property->GetOption().second].Type == StructProperty::ParticleType && (type = sim->GetParticleType(value.ToUtf8())) != -1)
if ((type = sim->GetParticleType(value.ToUtf8())) != -1)
{
v = type;