diff options
author | Swarnim Arun <swarnimarun11@gmail.com> | 2019-09-14 00:44:12 +0530 |
---|---|---|
committer | Swarnim Arun <swarnimarun11@gmail.com> | 2019-09-26 01:53:58 +0530 |
commit | 59738e3fa3f01f85782883d025cd96f9b0d44283 (patch) | |
tree | 6f759f73507f0927d168fda370d2536dde78f7c2 /modules/visual_script/visual_script.h | |
parent | edf9055b7f3fb16f9b927d09bc84be31c1076ce7 (diff) | |
download | redot-engine-59738e3fa3f01f85782883d025cd96f9b0d44283.tar.gz |
Visualscript editor graph unification & refactoring
Removes the need to have separate graphs per function for the VisualScript Nodes, and refactoring UI and other improvements such as fuzzy search, right click search boxes and in-graph editable nodes
Diffstat (limited to 'modules/visual_script/visual_script.h')
-rw-r--r-- | modules/visual_script/visual_script.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/visual_script/visual_script.h b/modules/visual_script/visual_script.h index 14927c4363..a035f6d42d 100644 --- a/modules/visual_script/visual_script.h +++ b/modules/visual_script/visual_script.h @@ -239,6 +239,7 @@ private: PropertyInfo info; Variant default_value; bool _export; + // add getter & setter options here }; Map<StringName, Function> functions; @@ -267,6 +268,8 @@ protected: static void _bind_methods(); public: + // TODO: Remove it in future when breaking changes are acceptable + StringName get_default_func() const; void add_function(const StringName &p_name); bool has_function(const StringName &p_name) const; void remove_function(const StringName &p_name); |