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()`
This commit is contained in:
Azamat Nabiullin 2021-01-27 18:14:46 +03:00
parent 98666f9855
commit 5611a17219

View file

@ -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 {