diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-02-13 14:28:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-13 14:28:05 +0100 |
commit | dcfe44f4479ddbf3518d3e753fbf242845402ae4 (patch) | |
tree | 08e9b17099079836ffae47c4cf234d0bd115c909 /scene/resources/mesh.cpp | |
parent | 835406cf04f0200a0504ae171964c687c559eb1e (diff) | |
parent | 54ac8eaba661a599983ae4774113d1a15cfa461a (diff) | |
download | redot-engine-dcfe44f4479ddbf3518d3e753fbf242845402ae4.tar.gz |
Merge pull request #36175 from akien-mga/remove-more-deprecated-stuff
Remove deprecated methods and code
Diffstat (limited to 'scene/resources/mesh.cpp')
-rw-r--r-- | scene/resources/mesh.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/mesh.cpp b/scene/resources/mesh.cpp index 6049d96fee..58463abad8 100644 --- a/scene/resources/mesh.cpp +++ b/scene/resources/mesh.cpp @@ -743,6 +743,7 @@ bool ArrayMesh::_set(const StringName &p_name, const Variant &p_value) { } #ifndef DISABLE_DEPRECATED + // Kept for compatibility from 3.x to 4.0. if (!sname.begins_with("surfaces")) return false; @@ -841,8 +842,7 @@ bool ArrayMesh::_set(const StringName &p_name, const Variant &p_value) { return true; } - -#endif +#endif // DISABLE_DEPRECATED return false; } |