mirror of
https://github.com/godotengine/godot
synced 2024-09-06 02:38:50 +00:00
Fix ParticlesMaterial build after #61238
This commit is contained in:
parent
9d0b3d7aaa
commit
ca5c3d6df9
|
@ -1451,12 +1451,12 @@ void ParticlesMaterial::_validate_property(PropertyInfo &p_property) const {
|
|||
}
|
||||
}
|
||||
|
||||
if (property.name == "collision_friction" && collision_mode != COLLISION_RIGID) {
|
||||
property.usage = PROPERTY_USAGE_NONE;
|
||||
if (p_property.name == "collision_friction" && collision_mode != COLLISION_RIGID) {
|
||||
p_property.usage = PROPERTY_USAGE_NONE;
|
||||
}
|
||||
|
||||
if (property.name == "collision_bounce" && collision_mode != COLLISION_RIGID) {
|
||||
property.usage = PROPERTY_USAGE_NONE;
|
||||
if (p_property.name == "collision_bounce" && collision_mode != COLLISION_RIGID) {
|
||||
p_property.usage = PROPERTY_USAGE_NONE;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue