View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005089 | DarkRadiant | Selection System | public | 30.12.2019 09:04 | 08.11.2020 18:34 |
Reporter | Dragofer | Assigned To | greebo | ||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Product Version | 2.6.0 | ||||
Target Version | 2.8.0 | Fixed in Version | 2.8.0 | ||
Summary | 0005089: Preserve grouping information in prefabs | ||||
Description | Some prefabs can be quite complex, especially considering they were made by somebody else. I'd like to suggest keeping the current feature of automatically grouping the whole prefab when imported, but implementing that when the imported prefab is ungrouped one finds the grouping that was foreseen by the prefab's author. | ||||
Tags | No tags attached. | ||||
This is now possible by choosing the "Portable Prefab" (pfbx) file format when saving the prefab. The grouping info of all objects is preserved after importing, independently of the import setting "Create Group of imported objects". | |
Thank you very much for filling both my feature requests w.r.t. preserving grouping. Will portable prefabs made in 2.7.1 be openable by earlier versions? (ofc without the grouping) |
|
No, the new files won't be recognised, it's a new format, only 2.7.1+ will be able to read that. | |
The new option to export as a portable prefab (.pfbx) is a little too buried for my liking, as mappers may never think of trying to alter the "Save as type" setting. Also, a prefab is by definition "portable", so naive mappers might not realise why they should make a portable prefab instead of just a prefab. Is there maybe a way to make this backwards compatible, i.e. by extending the .pfb file with additional grouping information that gets ignored by earlier DR versions? |
|
Can't change the existing PFB format without breaking any older version out there, unfortunately. I agree that it might not get used at all the way it's listed now... I was tempted to make the PFBX format the new default in DR 2.8.0 onwards when exporting prefabs, but I wasn't sure if it was confusing for mappers. Do you see any downsides in making the portable format the default? |
|
The new .pfbx is better in every way than .pfb, so the .pfb export setting is only needed to make .pfb's that can be opened in older DR versions. Also, unlike map files, I don't think TDM cares if there's an x at the end of the prefab file format. That speaks for making this the new default. The downside is that not everyone's up to date with their DR version, but all that'll happen is they won't see those new prefabs, and with time they'll hopefully update. |
|
Ok, I'll see to making pfbx the default. TDM itself cannot load that new format, but it doesn't care anyway. The only place where prefabs are loaded is the editor itself. |
|
DarkRadiant: master d4c5277b 24.04.2020 18:41 Details Diff |
0005089: Make the pfbx file format the default when exporting prefabs. Plus some refactoring in the FileChooser class - it is still an unpleasant if-else construct. |
Affected Issues 0005089 |
|
mod - libs/wxutil/FileChooser.cpp | Diff File | ||
mod - libs/wxutil/FileChooser.h | Diff File | ||
mod - radiant/map/MapFileManager.cpp | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
30.12.2019 09:04 | Dragofer | New Issue | |
31.12.2019 04:49 | greebo | Status | new => acknowledged |
11.03.2020 15:08 | greebo | Relationship added | related to 0005175 |
22.03.2020 03:41 | greebo | Assigned To | => greebo |
22.03.2020 03:41 | greebo | Status | acknowledged => assigned |
22.03.2020 03:41 | greebo | Target Version | => 2.8.0 |
22.03.2020 03:43 | greebo | Status | assigned => resolved |
22.03.2020 03:43 | greebo | Resolution | open => fixed |
22.03.2020 03:43 | greebo | Fixed in Version | => 2.8.0 |
22.03.2020 03:43 | greebo | Note Added: 0012288 | |
22.03.2020 22:00 | Dragofer | Note Added: 0012298 | |
23.03.2020 04:04 | greebo | Note Added: 0012300 | |
24.04.2020 12:30 | Dragofer | Assigned To | greebo => |
24.04.2020 12:30 | Dragofer | Status | resolved => feedback |
24.04.2020 12:30 | Dragofer | Resolution | fixed => reopened |
24.04.2020 12:30 | Dragofer | Note Added: 0012382 | |
24.04.2020 12:32 | Dragofer | Note Edited: 0012382 | |
24.04.2020 15:01 | greebo | Note Added: 0012388 | |
24.04.2020 15:02 | greebo | Note Edited: 0012388 | |
24.04.2020 15:53 | Dragofer | Note Added: 0012390 | |
24.04.2020 15:53 | Dragofer | Status | feedback => new |
24.04.2020 15:53 | Dragofer | Assigned To | => Dragofer |
24.04.2020 15:53 | Dragofer | Status | new => feedback |
24.04.2020 15:54 | Dragofer | Assigned To | Dragofer => greebo |
24.04.2020 15:59 | greebo | Note Added: 0012391 | |
24.04.2020 16:00 | greebo | Status | feedback => assigned |
24.04.2020 18:41 | greebo | Status | assigned => resolved |
24.04.2020 18:41 | greebo | Resolution | reopened => fixed |
24.04.2020 18:42 | greebo | Changeset attached | => DarkRadiant master d4c5277b |
08.11.2020 18:34 | greebo | Status | resolved => closed |