View Issue Details

IDProjectCategoryView StatusLast Update
0005289DarkRadiantSaving and loadingpublic05.02.2021 11:29
ReporterDragofer Assigned Togreebo  
PrioritynormalSeveritynormalReproducibilityN/A
Status closedResolutionfixed 
Product Version2.8.0 
Target Version2.9.0Fixed in Version2.9.0 
Summary0005289: Particle editor creates .prt files incorrectly
DescriptionCreating a new .prt file via the Particle Editor (either by creating a new particle or copying an existing one) will result in a file that has a '..prt' extension. Trying to start the game with such a file among the assets will trigger a blue error window complaining that it can't load that file.

On a related note, if I manually type in '.prt' at the end of the file name in the Particle Editor's new file dialog, the file never gets created but DR behaves as if it exists (probably storing it in some kind of temporary memory) until DR gets restarted.
Steps To Reproduce1) Open the Particle Editor
2) Click New
3) Name the particle 'test_particle'
4) Name the file 'test_particle'.
5) Check the particles folder: test_particle..prt as been created.

Alternatively:
4) Name the file 'test_particle.prt'
5) Check the particles folder: nothing has been created.
6) Check the particle editor: test_particle is selectable and is purported to be stored in particles/test_particle.ptr
7) Restart DR. The particle editor no longer lists test_particle.
TagsNo tags attached.

Activities

greebo

greebo

20.09.2020 06:32

administrator   ~0012781

I can confirm the first part about the file name with the double-dot, but I can't confirm the second part. When I hit save, the file test_particle.prt gets written correctly.

Related Changesets

DarkRadiant: master ae8b910b

20.09.2020 07:49

greebo


Details Diff
0005289: Fix particle files getting generated with two dots in their filenames (..prt) Affected Issues
0005289
mod - libs/wxutil/FileChooser.cpp Diff File

DarkRadiant: master f6a15a97

20.09.2020 07:56

greebo


Details Diff
0005289: Register particle file extension, to display the pattern name when selecting .prt files. Affected Issues
0005289
mod - radiantcore/particles/ParticlesManager.cpp Diff File

Issue History

Date Modified Username Field Change
09.07.2020 11:27 Dragofer New Issue
09.07.2020 11:28 Dragofer Steps to Reproduce Updated
20.09.2020 06:32 greebo Assigned To => greebo
20.09.2020 06:32 greebo Status new => confirmed
20.09.2020 06:32 greebo Note Added: 0012781
20.09.2020 06:32 greebo Target Version => 2.9.0
20.09.2020 07:48 greebo Status confirmed => assigned
20.09.2020 07:56 greebo Changeset attached => DarkRadiant master ae8b910b
20.09.2020 07:56 greebo Changeset attached => DarkRadiant master f6a15a97
20.09.2020 07:56 greebo Status assigned => resolved
20.09.2020 07:56 greebo Resolution open => fixed
20.09.2020 07:56 greebo Fixed in Version => 2.9.0
05.02.2021 11:29 greebo Status resolved => closed