View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0006011 | DarkRadiant | GUI | public | 16.07.2022 14:37 | 13.01.2024 05:31 |
| Reporter | Dragofer | Assigned To | greebo | ||
| Priority | normal | Severity | normal | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 3.0.0 | ||||
| Target Version | 3.1.0 | Fixed in Version | 3.1.0 | ||
| Summary | 0006011: Model exporter: "Use entity origin as export origin" still uses map origin | ||||
| Description | This option in the model exporter seems to use the map origin (0 0 0) rather than the entity's origin. I'd expect this not to move the model at all if I only have a single func_static entity selected, but instead it gets shifted depending on how far it's from the map origin. This is the same behaviour as when this option is disabled. | ||||
| Steps To Reproduce | 1) "Create model" > select stagecoach.lwo. 2) Set the model's "origin" spawnarg to "256 256 256". 3) File > Export selected as model > select .lwo, choose the same file path as the original stagecoach (models/darkmod/misc/carriages/stagecoach.lwo) and put a tick in "Use entity origin as export origin" > Ok. 4) The model is shifted by '256 256 256' units (vector from map origin to entity origin) while the entity origin remains in place. 5) Repeat steps 2 to 3, this time with no tick in "Use entity origin as export origin". The same thing happens as in 4, indicating that this option doesn't work. | ||||
| Tags | No tags attached. | ||||
|
DarkRadiant: master ace1fd19 19.08.2022 10:15 Details Diff |
0006011: Fix center around entity origin option not being considered. Add unit test. |
Affected Issues 0006011 |
|
| mod - radiant/ui/modelexport/ExportAsModelDialog.cpp | Diff File | ||
| mod - radiantcore/map/algorithm/Export.cpp | Diff File | ||
| mod - test/ModelExport.cpp | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 16.07.2022 14:37 | Dragofer | New Issue | |
| 19.08.2022 10:13 | greebo | Status | new => confirmed |
| 19.08.2022 10:13 | greebo | Target Version | => 3.1.0 |
| 19.08.2022 10:13 | greebo | Assigned To | => greebo |
| 19.08.2022 10:13 | greebo | Status | confirmed => assigned |
| 19.08.2022 10:16 | greebo | Changeset attached | => DarkRadiant master ace1fd19 |
| 19.08.2022 10:22 | greebo | Status | assigned => resolved |
| 19.08.2022 10:22 | greebo | Resolution | open => fixed |
| 19.08.2022 10:22 | greebo | Fixed in Version | => 3.1.0 |
| 13.01.2024 05:31 | greebo | Status | resolved => closed |