summaryrefslogtreecommitdiff
path: root/scene/resources/mesh.h
diff options
context:
space:
mode:
authorclayjohn <claynjohn@gmail.com>2022-12-16 16:26:46 -0800
committerclayjohn <claynjohn@gmail.com>2022-12-16 16:26:46 -0800
commit1a890b16416bff307b269153593014d5e7c5d749 (patch)
tree59a7ca6a7bc4461afbb248a8bde4246796774000 /scene/resources/mesh.h
parent2e657e51f8818401f0a54a0df3d3e74446044b93 (diff)
Switch surface indexing to start at 0 so string name matches integer index
Diffstat (limited to 'scene/resources/mesh.h')
-rw-r--r--scene/resources/mesh.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/resources/mesh.h b/scene/resources/mesh.h
index 6f995280e8..fabc09a42c 100644
--- a/scene/resources/mesh.h
+++ b/scene/resources/mesh.h
@@ -262,6 +262,7 @@ protected:
bool _set(const StringName &p_name, const Variant &p_value);
bool _get(const StringName &p_name, Variant &r_ret) const;
void _get_property_list(List<PropertyInfo> *p_list) const;
+ bool surface_index_0 = false;
virtual void reset_state() override;