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)
This commit is contained in:
ISylvox 2016-09-06 04:50:30 +07:00
parent 6f7b2d277f
commit 4aab004674
3 changed files with 5 additions and 2 deletions

View file

@ -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) {