diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-10-25 20:41:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-25 20:41:35 +0200 |
commit | 0b8139ae6b7d818dd1d0bf3d62a912a169a7a5db (patch) | |
tree | 998f45e23dd5777ef6d17008f8d1dbf0488625d5 /scene | |
parent | c9e6168db0959864b279a4641bc51f3fe2d13e12 (diff) | |
parent | 5a83fc50ecf318a50e3e27503669fda58b1a30bf (diff) |
Merge pull request #12406 from kubecz3k/distance-typo
fix a 'proximity_fade_distacne' typo in material
[ci skip]
Diffstat (limited to 'scene')
-rw-r--r-- | scene/resources/material.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |