From fefecff2be14c41e8683bc063c41067ba24fd631 Mon Sep 17 00:00:00 2001 From: codereader Date: Sun, 28 Jun 2020 18:05:00 +0200 Subject: [PATCH] #5231: Fix Patch Inspector row/col selectors not properly repopulated after patch dimension change (transpose) --- radiant/ui/patch/PatchInspector.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/radiant/ui/patch/PatchInspector.cpp b/radiant/ui/patch/PatchInspector.cpp index 7ab4f8cae2..e15039b3c9 100644 --- a/radiant/ui/patch/PatchInspector.cpp +++ b/radiant/ui/patch/PatchInspector.cpp @@ -213,6 +213,9 @@ void PatchInspector::update() patch->getPatch().getHeight() != _patchRows) { // Patch matrix got changed + _patchRows = patch->getPatch().getHeight(); + _patchCols = patch->getPatch().getWidth(); + clearVertexChooser(); repopulateVertexChooser(); }