Fixed error using the same atlas rect for all images, closes #4139

This commit is contained in:
Juan Linietsky
2016-06-21 20:51:41 -03:00
parent d57b09e47b
commit 3edf66477a
3 changed files with 17 additions and 2 deletions

View File

@ -129,6 +129,10 @@ public:
virtual void notification(int p_notification)=0;
//this is used by script languages that keep a reference counter of their own
//you can make make Ref<> not die when it reaches zero, so deleting the reference
//depends entirely from the script
virtual void refcount_incremented() {}
virtual bool refcount_decremented() { return true; } //return true if it can die