summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/script_language.cpp4
-rw-r--r--core/script_language.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/core/script_language.cpp b/core/script_language.cpp
index 031fcb0c4c..ad93fca4b5 100644
--- a/core/script_language.cpp
+++ b/core/script_language.cpp
@@ -283,8 +283,10 @@ void PlaceHolderScriptInstance::update(const List<PropertyInfo> &p_properties,co
to_remove.pop_front();
}
- if (owner && owner->get_script_instance()==this)
+ if (owner && owner->get_script_instance()==this) {
+
owner->_change_notify();
+ }
//change notify
}
diff --git a/core/script_language.h b/core/script_language.h
index f4956accd3..1e0dcc678f 100644
--- a/core/script_language.h
+++ b/core/script_language.h
@@ -92,6 +92,8 @@ public:
virtual ScriptLanguage *get_language() const=0;
+ virtual void update_exports() {} //editor tool
+
Script() {}
};