mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
FTI - Optimize non-interpolated 2D items
This commit is contained in:
parent
7fbc3a5307
commit
594fd1da49
2 changed files with 3 additions and 3 deletions
|
|
@ -602,7 +602,7 @@ void RendererCanvasRenderRD::canvas_render_items(RID p_to_render_target, Item *p
|
|||
}
|
||||
|
||||
Transform2D final_xform;
|
||||
if (!RSG::canvas->_interpolation_data.interpolation_enabled || !l->interpolated) {
|
||||
if (!RSG::canvas->_interpolation_data.interpolation_enabled || !l->interpolated || !l->on_interpolate_transform_list) {
|
||||
final_xform = l->xform_curr;
|
||||
} else {
|
||||
real_t f = Engine::get_singleton()->get_physics_interpolation_fraction();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue