From 4e5ea7e1afc1feba549b488a4641a4a5ce032d27 Mon Sep 17 00:00:00 2001 From: John Mick Date: Tue, 3 Mar 2020 14:11:40 -0500 Subject: [PATCH] Possible typo (#3156) Tutorial for 3.2 suggests calling 'add_custom_property_editor' which is not a member of EditorInspectorPlugin; however 'add_property_editor' does exist. --- tutorials/plugins/editor/inspector_plugins.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/plugins/editor/inspector_plugins.rst b/tutorials/plugins/editor/inspector_plugins.rst index 24f1e5203..5744a76d8 100644 --- a/tutorials/plugins/editor/inspector_plugins.rst +++ b/tutorials/plugins/editor/inspector_plugins.rst @@ -39,7 +39,7 @@ editor that we'll later define. # We will handle properties of type integer. if type == TYPE_INT: # Register *an instance* of the custom property editor that we'll define next. - add_custom_property_editor(path, MyIntEditor.new()) + add_property_editor(path, MyIntEditor.new()) # We return `true` to notify the inspector that we'll be handling # this integer property, so it doesn't need to parse other plugins # (including built-in ones) for an appropriate editor.