summaryrefslogtreecommitdiff
path: root/modules/fbx/fbx_parser
diff options
context:
space:
mode:
authorPedro J. Estébanez <pedrojrulez@gmail.com>2020-12-01 12:28:49 +0100
committerPedro J. Estébanez <pedrojrulez@gmail.com>2020-12-01 12:28:52 +0100
commit86ece881e533371aafabd5eb31c641777e6ffa04 (patch)
tree8bb2f3b39b9c32ddec141a4a1099f2be293ec25d /modules/fbx/fbx_parser
parent339b64697cefce637b473cf8aee6df8bb7fe05d9 (diff)
Remove useless check in GDScript
The removed check was adding a protection for the case where a `Reference` has not yet got its reference count initialized and a script is called on it. That would cause the object to be released after the call. The removed code was constructing the `Variant` via the `Object` constructor so it didn't deal with the reference count and so the release was prevented. However, `Variant` no longer works that way so that check was useless. Now it's just illegal to run GDScript on a Reference whose reference count has not been initialized.
Diffstat (limited to 'modules/fbx/fbx_parser')
0 files changed, 0 insertions, 0 deletions