summaryrefslogtreecommitdiff
path: root/scene/resources
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-04-06 23:27:36 +0200
committerGitHub <noreply@github.com>2017-04-06 23:27:36 +0200
commit25d09b92be0f5d86cdee6eada80823cdcc2d42bc (patch)
tree68617d55f229d3e906eac6b19b93f56ab75093bc /scene/resources
parenta30de0a85f225f59cb822ee76d0c873d8afd597d (diff)
parent362e52c2fde03346da665689d25c2161fbab2a25 (diff)
Merge pull request #8296 from Hinsbart/normapmap
Fix typo in FixedSpatialMaterial [ci skip]
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 410f4962fa..90be6374ea 100644
--- a/scene/resources/material.cpp
+++ b/scene/resources/material.cpp
@@ -913,7 +913,7 @@ void FixedSpatialMaterial::_bind_methods() {
ADD_PROPERTY(PropertyInfo(Variant::REAL, "emission_energy", PROPERTY_HINT_RANGE, "0,16,0.01"), "set_emission_energy", "get_emission_energy");
ADD_PROPERTYI(PropertyInfo(Variant::OBJECT, "emission_texture", PROPERTY_HINT_RESOURCE_TYPE, "Texture"), "set_texture", "get_texture", TEXTURE_EMISSION);
- ADD_GROUP("NormapMap", "normal_");
+ ADD_GROUP("NormalMap", "normal_");
ADD_PROPERTYI(PropertyInfo(Variant::BOOL, "normal_enabled"), "set_feature", "get_feature", FEATURE_NORMAL_MAPPING);
ADD_PROPERTY(PropertyInfo(Variant::REAL, "normal_scale", PROPERTY_HINT_RANGE, "-16,16,0.01"), "set_normal_scale", "get_normal_scale");
ADD_PROPERTYI(PropertyInfo(Variant::OBJECT, "normal_texture", PROPERTY_HINT_RESOURCE_TYPE, "Texture"), "set_texture", "get_texture", TEXTURE_NORMAL);