summaryrefslogtreecommitdiff
path: root/scene/resources
diff options
context:
space:
mode:
authorJakub Grzesik <kubecz3k@gmail.com>2017-10-25 20:27:52 +0200
committerJakub Grzesik <kubecz3k@gmail.com>2017-10-25 20:27:52 +0200
commit5a83fc50ecf318a50e3e27503669fda58b1a30bf (patch)
tree98eb317cae257e02ccd98ea840824187c1c483c5 /scene/resources
parent3504bb70a48dd7c1d0d587900c96bbd7af91754b (diff)
fix a 'proximity_fade_distacne' typo in material
Diffstat (limited to 'scene/resources')
-rw-r--r--scene/resources/material.cpp2
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;
}