From 3a4a2198edbdd5222eac2746881ceda3b96fbe48 Mon Sep 17 00:00:00 2001 From: Hendrik Brucker Date: Sun, 4 Jul 2021 02:14:31 +0200 Subject: Fix color properties of particle nodes/material --- scene/3d/cpu_particles_3d.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'scene/3d') 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; } -- cgit v1.2.3