diff options
author | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2021-09-22 18:08:04 -0700 |
---|---|---|
committer | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2021-09-22 18:08:04 -0700 |
commit | 92699520536d78fc94d986fd4d4922fad11978cf (patch) | |
tree | 20ec6818963bcaf1f83977f6cf0a5fee9980f347 /scene/main/instance_placeholder.cpp | |
parent | c1e6c2c49a7a2c05649d79733e7edda382aa92df (diff) |
Don't override KinematicCollision reference when still in use in script
In case the reference is stored in script, create a new instance to
avoid overriding the previous values.
Otherwise, re-use the reference as before to avoid extra allocations.
Diffstat (limited to 'scene/main/instance_placeholder.cpp')
0 files changed, 0 insertions, 0 deletions