Resource: Remove unused `_use_builtin_script()` virtual method

And another piece of dead code found while searching for "use_builtin".

(cherry picked from commit 6e9439198c)
This commit is contained in:
Rémi Verschelde 2021-08-12 12:16:04 +02:00
parent c5f01173a4
commit ba8551451f
No known key found for this signature in database
GPG Key ID: C3336907360768E1
2 changed files with 0 additions and 6 deletions

View File

@ -59,8 +59,6 @@ class Resource : public Reference {
String path_cache;
int subindex;
virtual bool _use_builtin_script() const { return true; }
#ifdef TOOLS_ENABLED
uint64_t last_modified_time;
uint64_t import_last_modified_time;

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;