Browse Source

Merge pull request #12406 from kubecz3k/distance-typo

fix a 'proximity_fade_distacne' typo in material

[ci skip]
Rémi Verschelde 7 years ago
parent
commit
0b8139ae6b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scene/resources/material.cpp

+ 1 - 1
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;
 	}