diff options
author | Hendrik Brucker <hendrik.brucker@mail.de> | 2021-07-04 02:14:31 +0200 |
---|---|---|
committer | Hendrik Brucker <hendrik.brucker@mail.de> | 2021-07-04 02:14:31 +0200 |
commit | 3a4a2198edbdd5222eac2746881ceda3b96fbe48 (patch) | |
tree | 0d1e0f62e1ae0ab44d0a220fa1b2d4122cb83781 /scene/3d | |
parent | cb4e42155dd3a0e513106d7a219366dd355e9483 (diff) |
Fix color properties of particle nodes/material
Diffstat (limited to 'scene/3d')
-rw-r--r-- | scene/3d/cpu_particles_3d.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/scene/3d/cpu_particles_3d.cpp b/scene/3d/cpu_particles_3d.cpp index 6dc865ec0e..178a269f17 100644 --- a/scene/3d/cpu_particles_3d.cpp +++ b/scene/3d/cpu_particles_3d.cpp @@ -434,10 +434,6 @@ Vector3 CPUParticles3D::get_gravity() const { } void CPUParticles3D::_validate_property(PropertyInfo &property) const { - if (property.name == "color" && color_ramp.is_valid()) { - property.usage = PROPERTY_USAGE_NONE; - } - if (property.name == "emission_sphere_radius" && emission_shape != EMISSION_SHAPE_SPHERE) { property.usage = PROPERTY_USAGE_NONE; } |