-Ability to roll-back script-exported properties to their default value on the script, closes #2128

This commit is contained in:
Juan Linietsky
2016-01-02 20:17:31 -03:00
parent 61745855d0
commit 1597082c85
7 changed files with 160 additions and 49 deletions

View File

@ -98,6 +98,7 @@ public:
virtual bool has_script_signal(const StringName& p_signal) const=0;
virtual void get_script_signal_list(List<MethodInfo> *r_signals) const=0;
virtual bool get_property_default_value(const StringName& p_property,Variant& r_value) const=0;
virtual void update_exports() {} //editor tool