This repository has been archived by the owner on Jun 16, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Possible fix for Misc menu, Select Entity Color... not working at times
In GtkRadiant v1.2.13 and v1.4 I had noticed a situation where the K-key (Misc menu, Select Entity Color...) would not work on selected light entities... the menu entry was ghosted out. This also occurred in v1.6.x. To fix this the selected light entity (without _color key) needed to get a manually set "_color 1 1 1" key/value pair... then suddenly the Misc menu, Select Entity Color... entry became unghosted. Alas after this manual fix I was not able to reproduce the issue. Possible Fix: The rare issue could be related to the menu code using the wrong m_strMenu variable as defined in the g_Commands[] section: menu_misc_select_entitycolor Fixed the menu code from g_object_set_data(G_OBJECT(window), "menu_misc_selectentitycolor", item); to the above. Hopefully this actually permanently fixes the issue. (cherry picked from commit 5baf036) Reworked original patch to not include the other, unrelated changes.
- Loading branch information