diff options
author | George Marques <george@gmarqu.es> | 2020-11-30 14:27:44 -0300 |
---|---|---|
committer | George Marques <george@gmarqu.es> | 2020-11-30 14:49:52 -0300 |
commit | 029fd88adbc95e32d8613d315fa81fa978ca04c3 (patch) | |
tree | f332ce311172bce3bb28bb9aa4d9676f97b010ef /scene/gui/range.cpp | |
parent | b9a2787bd164602e866ecac1527020e0e1c34da8 (diff) |
Fix VariantInternal initialization and setting of object
- Initialize Object pointer to nullptr so it's not used by mistake.
- When setting an Object check if it's a reference so refcounting works
as intended.
Diffstat (limited to 'scene/gui/range.cpp')
0 files changed, 0 insertions, 0 deletions