1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

-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();