Merge pull request #51574 from akien-mga/3.x-cherrypicks

Cherry-picks for the 3.x branch (future 3.4) - 15th batch
This commit is contained in:
Rémi Verschelde
2021-08-12 20:30:30 +02:00
committed by GitHub
2 changed files with 1 additions and 5 deletions

View File

@@ -9,7 +9,7 @@
You are most likely to use this class via the Visual Script editor or when writing plugins for it.
</description>
<tutorials>
<link>https://docs.godotengine.org/en/3.3/getting_started/scripting/visual_script/index.html</link>
<link>https://docs.godotengine.org/en/3.4/getting_started/scripting/visual_script/index.html</link>
</tutorials>
<methods>
<method name="add_custom_signal">

View File

@@ -2328,10 +2328,6 @@ void VisualScriptEditor::drop_data_fw(const Point2 &p_point, const Variant &p_da
pset.instance();
pset->set_call_mode(VisualScriptPropertySet::CALL_MODE_INSTANCE);
pset->set_base_type(obj->get_class());
/*if (use_value) {
pset->set_use_builtin_value(true);
pset->set_builtin_value(d["value"]);
}*/
vnode = pset;
} else {
Ref<VisualScriptPropertyGet> pget;