diff options
author | ISylvox <ISylvox@yahoo.com> | 2016-09-06 04:50:30 +0700 |
---|---|---|
committer | ISylvox <ISylvox@yahoo.com> | 2016-09-06 04:50:30 +0700 |
commit | 4aab004674df8bb0dbff8c1b4bda4cd7213c7348 (patch) | |
tree | 87e929832be6f8577963ad964436cd8b22775dfd /modules/visual_script/visual_script.cpp | |
parent | 6f7b2d277fc068264b72b0a39d464da03807c628 (diff) |
Should Fix Compiling Export Templates
- Works on Windows, Linux x11, Linux Server, Android, HTML5
- Not tested on Mac/iOS (don't have Apple's devices yet)
Diffstat (limited to 'modules/visual_script/visual_script.cpp')
-rw-r--r-- | modules/visual_script/visual_script.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/visual_script/visual_script.cpp b/modules/visual_script/visual_script.cpp index 4de593760d..d0a933a11c 100644 --- a/modules/visual_script/visual_script.cpp +++ b/modules/visual_script/visual_script.cpp @@ -1130,6 +1130,7 @@ void VisualScript::get_script_property_list(List<PropertyInfo> *p_list) const { } } +#ifdef TOOLS_ENABLED bool VisualScript::are_subnodes_edited() const { for(const Map<StringName,Function>::Element *E=functions.front();E;E=E->next()) { @@ -1143,7 +1144,7 @@ bool VisualScript::are_subnodes_edited() const { return false; } - +#endif void VisualScript::_set_data(const Dictionary& p_data) { |