View Issue Details

IDProjectCategoryView StatusLast Update
0006011DarkRadiantGUIpublic19.08.2022 10:22
ReporterDragofer Assigned Togreebo  
Status resolvedResolutionfixed 
Product Version3.0.0 
Target Version3.1.0Fixed in Version3.1.0 
Summary0006011: Model exporter: "Use entity origin as export origin" still uses map origin
DescriptionThis 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 Reproduce1) "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.
TagsNo tags attached.


There are no notes attached to this issue.

Related Changesets

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
mod - radiant/ui/modelexport/ExportAsModelDialog.cpp Diff File
mod - radiantcore/map/algorithm/Export.cpp Diff File
mod - test/ModelExport.cpp Diff File

Issue History

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