An undo may be active when e.g. a new misc_model is created and the model has just been loaded.
…ring against. Additionally fix small typo.
…ames (fix) - 5baf036 Possible fix for Misc menu, Select Entity Color... not working at times Had overlooked another reference to the "wrong" "menu_misc_selectentitycolor" entry, this caused a Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion `GTK_IS_WIDGET (widget)' failed -> fix: "menu_misc_select_entitycolor" (cherry picked from commit 315b218)
The Map_Snapshot() function generated map names like "mymap.map.0", "mymap.map.1", etc. This name was then passed on to the saving method itself. However, the whole logic in which format to actually save the file depended on the extension being e.g. ".map". In these cases, the extension was ".<number>" and thus no appropriate saving mechanismus was found. The logic now creates files according to the scheme "mymap.0.map". This change was necessary anyway, because the editor cannot load a map file without the proper extension, too.
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.
(cherry picked from commit 522b5e3) Reworked patch: the superflous \r was introduced due the fopen mode 't' on Windows which causes EOL translation; changed that into 'b'inary.
Should fix issue #30; this is a port from NetRadiant rev. 311 .
…auses the menus to loose them). Fixes issue #66.
Make it clearer to spot which function does the actual work.
This includes the following type of menus: static, texture, plug-ins and xlinks. Note for the texture menu: There are two commands which result in the list of textures to be completely rebuilt, which will close all tearoff menus from the textures. These commands are: "shaderlist.txt only" and "Directory list ..." .
- Rename ...1u to ...1gu (grid unit) from AEons patches, to properly reflect the actions done
- changing entity clas - changing key/val - deleting key/val - reset entity - changing to preset angle
…ties. See issue mfn/GrkRadiant#13 for details.