From 5a83fc50ecf318a50e3e27503669fda58b1a30bf Mon Sep 17 00:00:00 2001 From: Jakub Grzesik Date: Wed, 25 Oct 2017 20:27:52 +0200 Subject: fix a 'proximity_fade_distacne' typo in material --- scene/resources/material.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scene') diff --git a/scene/resources/material.cpp b/scene/resources/material.cpp index 898a594498..12434b39fa 100644 --- a/scene/resources/material.cpp +++ b/scene/resources/material.cpp @@ -1278,7 +1278,7 @@ void SpatialMaterial::_validate_property(PropertyInfo &property) const { property.usage = 0; } - if (property.name == "proximity_fade_distacne" && !proximity_fade_enabled) { + if (property.name == "proximity_fade_distance" && !proximity_fade_enabled) { property.usage = 0; } -- cgit v1.2.3