Resource: Remove unused _use_builtin_script()
virtual method
And another piece of dead code found while searching for "use_builtin".
This commit is contained in:
parent
2eb3c9580f
commit
6e9439198c
2 changed files with 0 additions and 6 deletions
|
@ -62,8 +62,6 @@ private:
|
||||||
String path_cache;
|
String path_cache;
|
||||||
String scene_unique_id;
|
String scene_unique_id;
|
||||||
|
|
||||||
virtual bool _use_builtin_script() const { return true; }
|
|
||||||
|
|
||||||
#ifdef TOOLS_ENABLED
|
#ifdef TOOLS_ENABLED
|
||||||
uint64_t last_modified_time = 0;
|
uint64_t last_modified_time = 0;
|
||||||
uint64_t import_last_modified_time = 0;
|
uint64_t import_last_modified_time = 0;
|
||||||
|
|
|
@ -2323,10 +2323,6 @@ void VisualScriptEditor::drop_data_fw(const Point2 &p_point, const Variant &p_da
|
||||||
pset.instantiate();
|
pset.instantiate();
|
||||||
pset->set_call_mode(VisualScriptPropertySet::CALL_MODE_INSTANCE);
|
pset->set_call_mode(VisualScriptPropertySet::CALL_MODE_INSTANCE);
|
||||||
pset->set_base_type(obj->get_class());
|
pset->set_base_type(obj->get_class());
|
||||||
/*if (use_value) {
|
|
||||||
pset->set_use_builtin_value(true);
|
|
||||||
pset->set_builtin_value(d["value"]);
|
|
||||||
}*/
|
|
||||||
vnode = pset;
|
vnode = pset;
|
||||||
} else {
|
} else {
|
||||||
Ref<VisualScriptPropertyGet> pget;
|
Ref<VisualScriptPropertyGet> pget;
|
||||||
|
|
Loading…
Reference in a new issue