summaryrefslogtreecommitdiff
path: root/scene/main/canvas_layer.cpp
diff options
context:
space:
mode:
authorPouleyKetchoupp <pouleyketchoup@gmail.com>2021-09-22 18:08:04 -0700
committerPouleyKetchoupp <pouleyketchoup@gmail.com>2021-09-22 18:08:04 -0700
commit92699520536d78fc94d986fd4d4922fad11978cf (patch)
tree20ec6818963bcaf1f83977f6cf0a5fee9980f347 /scene/main/canvas_layer.cpp
parentc1e6c2c49a7a2c05649d79733e7edda382aa92df (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/canvas_layer.cpp')
0 files changed, 0 insertions, 0 deletions