From 5611a17219cbf3a1cd190a701156337dbf66099c Mon Sep 17 00:00:00 2001 From: Azamat Nabiullin Date: Wed, 27 Jan 2021 18:14:46 +0300 Subject: [PATCH] Fix disconnection between Gizmo and inspector values on BakedLightmap After adding `_change_notify("extents");` to `set_extents()` method in `BakedLightmap` class the issue was fixed Fix disconnection between Gizmo and inspector values on BakedLightmap Remove unnecessary `_change_notify("bake_extents")` call from `set_extents()` --- scene/3d/baked_lightmap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/3d/baked_lightmap.cpp b/scene/3d/baked_lightmap.cpp index 425857dde42..144d66df935 100644 --- a/scene/3d/baked_lightmap.cpp +++ b/scene/3d/baked_lightmap.cpp @@ -1055,7 +1055,7 @@ float BakedLightmap::get_capture_cell_size() const { void BakedLightmap::set_extents(const Vector3 &p_extents) { extents = p_extents; update_gizmo(); - _change_notify("bake_extents"); + _change_notify("extents"); } Vector3 BakedLightmap::get_extents() const {