-Fixed post-import script-reload buf, fixes #1683

This commit is contained in:
Juan Linietsky 2015-04-18 19:06:58 -03:00
parent 701335e845
commit b66b86b05e
3 changed files with 14 additions and 3 deletions

View file

@ -59,6 +59,10 @@ void Reference::_bind_methods() {
ObjectTypeDB::bind_method(_MD("unreference"),&Reference::unreference);
}
int Reference::reference_get_count() const {
return refcount.get();
}
void Reference::reference(){
refcount.ref();

View file

@ -53,6 +53,7 @@ public:
bool init_ref();
void reference();
bool unreference();
int reference_get_count() const;
Reference();
~Reference();