summaryrefslogtreecommitdiff
path: root/core/math/transform.cpp
diff options
context:
space:
mode:
authorRuslan Mustakov <r.mustakov@gmail.com>2017-08-19 19:41:11 +0700
committerRuslan Mustakov <r.mustakov@gmail.com>2017-09-14 19:40:36 +0700
commitf08bc0df7c16a6d12292628ec8cc2e015047c450 (patch)
tree73b9bdaf5441798340bcbddcd96edc2430a9ccd0 /core/math/transform.cpp
parent9ac940677c9febc5f1c52782a717df61b0224344 (diff)
Construct Variants from Reference properly in GDNative
Previously godot_variant_new_object constructed Variant without accounting for the fact that the Object can be a Reference, so refcount was not increased and References were destructed prematurely. Also, Reference::init_ref did not propagate refcount increment to the script instance, which led to desync of refcount info on the script side and Godot side.
Diffstat (limited to 'core/math/transform.cpp')
0 files changed, 0 insertions, 0 deletions