Merge pull request #89572 from markdibarry/parallax_scale_regression
Avoid passing zoom scale for ParallaxLayer mirror
This commit is contained in:
commit
9dca8995b2
|
@ -71,8 +71,8 @@ void ParallaxLayer::_update_mirroring() {
|
|||
if (pb) {
|
||||
RID c = pb->get_canvas();
|
||||
RID ci = get_canvas_item();
|
||||
Point2 mirrorScale = mirroring * get_scale();
|
||||
RenderingServer::get_singleton()->canvas_set_item_mirroring(c, ci, mirrorScale);
|
||||
Point2 mirror_scale = mirroring * orig_scale;
|
||||
RenderingServer::get_singleton()->canvas_set_item_mirroring(c, ci, mirror_scale);
|
||||
RenderingServer::get_singleton()->canvas_item_set_interpolated(ci, false);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue