[Gtkradiant] Saving shader causes crash and loss of data

Nerius Landys nlandys at gmail.com
Wed Apr 16 21:47:19 CDT 2008


I discovered a fairly severe bug in the current development version of
ZeroRadiant.

I am running on Linux.

Steps to reproduce:

1. Launch ZeroRadiant.

2. No need to even open a map.

3. Go to Textures menu.  Make sure "shaderlist.txt only" is checked.  (It
was on mine when I reproduced the bug.)

4. From this menu select one of the entries at the bottom that has shaders,
for example "common" or "ut4_freakjumps" (on mine).

5. Shift+click a texture that has a shader associated with it.  a window
should pop up.

6. Click "Save" on that popup window.  This is the click of death.

This action will cause ZeroRadiant to crash.  Not only that; the shader that
corresponds to the file being saved is lost:

nlandys at sylvester:~/.q3a/q3ut4/scripts$ ls -l
total 12
-rw-r--r-- 1 nlandys nlandys  256 2008-04-16 19:00 stratosphere.shader
-rw-r--r-- 1 nlandys nlandys 5962 2008-04-15 19:07 user0.proj
-rw-r--r-- 1 nlandys nlandys    0 2008-04-16 19:45 ut4_freakjumps.shader

Here, ut4_freakjumps.shader now has length zero (no contents).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://zerowing.idsoftware.com/pipermail/gtkradiant/attachments/20080416/04ca7ee2/attachment.htm 


More information about the Gtkradiant mailing list