summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-09-29 08:45:38 +0200
committerGitHub <noreply@github.com>2020-09-29 08:45:38 +0200
commit2d14c7cb69769421e96e19f3a8b54de87e8660fc (patch)
tree2736209a40a794c147ae04ec6b78b3d8fd0faf6b /doc
parent4e19e3603b6e3a0ed08b7d6128fa90a6efe24366 (diff)
parent45a1c6f278559fad42d86e3d4a992070c5b14fd2 (diff)
Merge pull request #42125 from andriyDev/inspector_only_option
Added inspector_only option to inspect_object in EditorInterface.
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/EditorInterface.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/classes/EditorInterface.xml b/doc/classes/EditorInterface.xml
index 9da36b51f9..c7561449b9 100644
--- a/doc/classes/EditorInterface.xml
+++ b/doc/classes/EditorInterface.xml
@@ -125,8 +125,10 @@
</argument>
<argument index="1" name="for_property" type="String" default="&quot;&quot;">
</argument>
+ <argument index="2" name="inspector_only" type="bool" default="false">
+ </argument>
<description>
- Shows the given property on the given [code]object[/code] in the editor's Inspector dock.
+ Shows the given property on the given [code]object[/code] in the editor's Inspector dock. If [code]inspector_only[/code] is [code]true[/code], plugins will not attempt to edit [code]object[/code].
</description>
</method>
<method name="is_playing_scene" qualifiers="const">