View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000293 | DarkRadiant | General | public | 08.05.2007 08:52 | 24.05.2007 12:25 |
| Reporter | greebo | Assigned To | orbweaver | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 0.9.1 | ||||
| Fixed in Version | 0.9.1 | ||||
| Summary | 0000293: DarkRadiant crashes when required Doom3 assets are not available | ||||
| Description | DarkRadiant currently can't be used without an existing Doom 3 installation. A check in the code for the existence of e.g. the light entityclass should be implemented. Maybe a minimalist set of def files and lightshaders could be shipped with the editor? | ||||
| Tags | No tags attached. | ||||
|
I found an interesting error: I do not have doom 3 files yet. When creating a light with: "right click -> create entity -> light" a message box pops up that reads: "Unable to create entity "light", no brushes selected" (radiant does not crash). When creating a light with: "right click -> create light" radiant terminates and the console reads: "terminate called after throwing an instance of 'EntityCreationException' what(): Unable to create entity "light", no brushes selected" A backtrace reveals that the exact same functions are called. The function which causes the different results: "EntityCreationException (this=0x8941b08, what=@0xbfaaf2e8) at radiant/entity.h:48 48 : std::runtime_error(what) {}" |
|
| Yes, this is all in progress. The code in the context menu which creates the hard-coded entity classes doesn't catch that exception. | |
| Following your hint, I just copied the try / catch over from EntityClassChooser.cpp to OrthoContextMenu.cpp. Now it works. No idea if that's the way it should be done. | |
| That's more or less what I did. Fixed in SVN. | |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 08.05.2007 08:52 | greebo | New Issue | |
| 08.05.2007 08:52 | greebo | Status | new => confirmed |
| 09.05.2007 20:03 | orbweaver | Status | confirmed => assigned |
| 09.05.2007 20:03 | orbweaver | Assigned To | => orbweaver |
| 12.05.2007 14:19 | mohij | Note Added: 0000644 | |
| 12.05.2007 14:20 | orbweaver | Note Added: 0000645 | |
| 12.05.2007 15:40 | mohij | Note Added: 0000646 | |
| 12.05.2007 18:49 | orbweaver | Status | assigned => resolved |
| 12.05.2007 18:49 | orbweaver | Fixed in Version | => latest SVN |
| 12.05.2007 18:49 | orbweaver | Resolution | open => fixed |
| 12.05.2007 18:49 | orbweaver | Note Added: 0000647 | |
| 24.05.2007 12:25 | greebo | Status | resolved => closed |