diff options
author | Juan Linietsky <reduzio@gmail.com> | 2014-09-22 00:50:48 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2014-09-22 00:50:48 -0300 |
commit | 048fdc8aeabbd80ba9cc8914ec7f7baa00ad0c3d (patch) | |
tree | ddd39a348b41cfe3927075a8c6b11aa692511518 /core | |
parent | f195bf673fa8f282d2508e20ca6f08260c4e1fe7 (diff) |
-variables with export in script are now IMMEDIATELY AND ALWAYS visible in properties (#718)
-WorldEnvironment cleanup issues fixed (#563)
-Text Editor improvement to shift-mouse selection (#648)
-(Hopefully) fixed rare (but horrible) indexing bug in GDScript compiler (#652)
-Some changes to PhysicsBody API, renamed property "active" to "sleeping", which makes more sense
-Added add_collision_exception() API in PhysicsBody (more accessible)
-ability to select and copy in the output messages panel
Diffstat (limited to 'core')
-rw-r--r-- | core/script_language.cpp | 4 | ||||
-rw-r--r-- | core/script_language.h | 2 |
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() {} }; |