summaryrefslogtreecommitdiffstats
path: root/editor/editor_properties.cpp
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2023-10-20 02:39:06 +0200
committerkobewi <kobewi4e@gmail.com>2023-11-13 15:17:10 +0100
commit4296f0a7712d00f46e4b32988c5f4e8431951e53 (patch)
tree794fff81fe138ebd48cea10ba0f102bfddd061c4 /editor/editor_properties.cpp
parent59457685c18e2d729eea50c751c11f049a7186f0 (diff)
downloadredot-engine-4296f0a7712d00f46e4b32988c5f4e8431951e53.tar.gz
Fill remaining global scope constant descriptions
Diffstat (limited to 'editor/editor_properties.cpp')
-rw-r--r--editor/editor_properties.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/editor/editor_properties.cpp b/editor/editor_properties.cpp
index b37710724e..2d35d4e9ac 100644
--- a/editor/editor_properties.cpp
+++ b/editor/editor_properties.cpp
@@ -3866,9 +3866,6 @@ EditorProperty *EditorInspectorDefaultPlugin::get_editor_for_property(Object *p_
} break;
case Variant::NODE_PATH: {
EditorPropertyNodePath *editor = memnew(EditorPropertyNodePath);
- if (p_hint == PROPERTY_HINT_NODE_PATH_TO_EDITED_NODE && !p_hint_text.is_empty()) {
- editor->setup(p_hint_text, Vector<StringName>(), (p_usage & PROPERTY_USAGE_NODE_PATH_FROM_SCENE_ROOT));
- }
if (p_hint == PROPERTY_HINT_NODE_PATH_VALID_TYPES && !p_hint_text.is_empty()) {
Vector<String> types = p_hint_text.split(",", false);
Vector<StringName> sn = Variant(types); //convert via variant