From 98fe75b191085ae38b4bc8b79246fa3378123909 Mon Sep 17 00:00:00 2001 From: Kirill <95088806+kirill-mapper@users.noreply.github.com> Date: Thu, 26 Sep 2024 01:23:49 +0300 Subject: [PATCH] Restore UpdateWidgetTransform for Capsule Extent After manual merging, UpdateWidgetTransform was removed from the Extent capsule. This was a mistake. Updating the widget is especially necessary in cases where we entered a value significantly different from the previous one manually for Extent and then continued to use scaling. --- CodeWalker/Forms/ModelLightForm.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CodeWalker/Forms/ModelLightForm.cs b/CodeWalker/Forms/ModelLightForm.cs index 7bc33a6..ec3cc48 100644 --- a/CodeWalker/Forms/ModelLightForm.cs +++ b/CodeWalker/Forms/ModelLightForm.cs @@ -804,7 +804,6 @@ namespace CodeWalker.Forms selectedLight.Flashiness = v; UpdateLightParams(); } - } private void LightHash_ValueChanged(object sender, EventArgs e) @@ -852,6 +851,7 @@ namespace CodeWalker.Forms if (selectedLight.Extent != v) { selectedLight.Extent = v; + UpdateWidgetTransform(); UpdateLightParams(); } }