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:
parent
98666f9855
commit
5611a17219
@ -1055,7 +1055,7 @@ float BakedLightmap::get_capture_cell_size() const {
|
|||||||
void BakedLightmap::set_extents(const Vector3 &p_extents) {
|
void BakedLightmap::set_extents(const Vector3 &p_extents) {
|
||||||
extents = p_extents;
|
extents = p_extents;
|
||||||
update_gizmo();
|
update_gizmo();
|
||||||
_change_notify("bake_extents");
|
_change_notify("extents");
|
||||||
}
|
}
|
||||||
|
|
||||||
Vector3 BakedLightmap::get_extents() const {
|
Vector3 BakedLightmap::get_extents() const {
|
||||||
|
Loading…
Reference in New Issue
Block a user