diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-07-14 15:05:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-14 15:05:20 +0200 |
commit | 8f6240a275bbe138e0b52e643583c2fed2211ee4 (patch) | |
tree | 3c7ae593eaef3203ebb7e99b5de18792fa61876a /scene/3d | |
parent | dcabc273376161cae10afd0eca399742b69e4f79 (diff) | |
parent | 3a4a2198edbdd5222eac2746881ceda3b96fbe48 (diff) |
Merge pull request #49348 from Geometror/fix-particles-hidden-basecolor
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; } |