[Gtkradiant] [Bug 92] New: Fix for -onlyents breaking entities with origin brushes

gtkradiant@zerowing.idsoftware.com gtkradiant@zerowing.idsoftware.com
Sat, 09 Jun 2001 00:56:50 -0500


http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=92

           Summary: Fix for -onlyents breaking entities with origin brushes
           Product: GtkRadiant
           Version: 1.1-TA
          Platform: All
               URL:
        OS/Version: All
            Status: NEW
 Status Whiteboard:
          Keywords:
        Resolution:
          Severity: normal
          Priority: P2
         Component: editor
        AssignedTo: ttimo@idsoftware.com
        ReportedBy: jbaxter@lemur.stanford.edu


This is a q3map issue but I didn't see a bug category for that...

When you do an -onlyents recompile on a map, entities with origin brushes (like 
func_rotating) get moved to the 0/0/0 coordinates.  This is obviously a bad 
thing.

I think you can fix this by adding a call to LoadShaderInfo right before the 
call to LoadMapFile in the OnlyEnts procedure of bsp.c.  More details here: 
http://www.quake3world.com/ubb/Forum6/HTML/014888.html#14

Whaddaya think?