From e64cd21f6fbe738a200a160d2a5f57597d536cbc Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Fri, 18 Mar 2022 00:27:20 +0800 Subject: Remap property path based on path substrings Also added captialization caching. --- editor/editor_property_name_processor.h | 1 + 1 file changed, 1 insertion(+) (limited to 'editor/editor_property_name_processor.h') diff --git a/editor/editor_property_name_processor.h b/editor/editor_property_name_processor.h index efd7abced3..616c4cac46 100644 --- a/editor/editor_property_name_processor.h +++ b/editor/editor_property_name_processor.h @@ -38,6 +38,7 @@ class EditorPropertyNameProcessor : public Node { static EditorPropertyNameProcessor *singleton; + mutable Map capitalize_string_cache; Map capitalize_string_remaps; String _capitalize_name(const String &p_name) const; -- cgit v1.2.3