allow prop tool to parse particle type for tmp
This commit is contained in:
parent
d05e4b2d0b
commit
d42d7486e7
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user