View Issue Details

IDProjectCategoryView StatusLast Update
0006034DarkRadiantGUIpublic05.08.2022 06:15
ReporterDragofer Assigned Togreebo  
PrioritynormalSeveritynormalReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.0.0 
Target Version3.1.0Fixed in Version3.1.0 
Summary0006034: Material Editor: new materials always sorted last
DescriptionWhenever the "Unlock editing" button is pressed to create a copy of a material, the new material is initially sorted to the bottom of whatever folder level it's on. The expected behaviour would be that it appears just underneath the original material, since they both have similar names. This makes it harder to directly compare the new material with the original material.
Steps To Reproduce1) In the material editor's "Material definitions" list, search for "web1" >> select the material "textures/darkmod/decals/webs/cobweb1".
2) Click "Unlock Editing". This creates "textures/darkmod/decals/webs/cobweb1_copy", but it's sorted to the bottom of the webs/ folder underneath "textures/darkmod/decals/webs/websquare_id".
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Related Changesets

DarkRadiant: master d65d7688

2022-07-31 16:14:12

greebo

Details Diff
0006034: Clear the tree view filter before creating a new material, otherwise it's not immediately visible Affected Issues
0006034
mod - radiant/ui/materials/editor/MaterialEditor.cpp Diff File

DarkRadiant: master f971cf8d

2022-08-05 05:51:47

greebo

Details Diff
0006034: Offer SortModelFoldersFirst overloads to start at a given element in the tree.
Reduce code duplication by forwarding calls to more specific overloads.
Affected Issues
0006034
mod - libs/wxutil/dataview/TreeModel.cpp Diff File
mod - libs/wxutil/dataview/TreeModel.h Diff File

DarkRadiant: master 5d1ae539

2022-08-05 06:14:42

greebo

Details Diff
0006034: Resort the subtree when inserting a single texture element into the material tree view.
Send ItemDeleted/ItemAdded events for all children to force the client data views to rebuild their nodes.
Affected Issues
0006034
mod - libs/wxutil/dataview/TreeModel.cpp Diff File
mod - libs/wxutil/dataview/TreeModel.h Diff File
mod - radiant/ui/materials/MaterialPopulator.cpp Diff File
mod - radiant/ui/materials/MaterialPopulator.h Diff File

Issue History

Date Modified Username Field Change
31.07.2022 08:23 Dragofer New Issue
31.07.2022 08:56 greebo Status new => acknowledged
31.07.2022 16:15 greebo Changeset attached => DarkRadiant master d65d7688
05.08.2022 05:21 greebo Status acknowledged => confirmed
05.08.2022 06:14 greebo Changeset attached => DarkRadiant master f971cf8d
05.08.2022 06:14 greebo Changeset attached => DarkRadiant master 5d1ae539
05.08.2022 06:15 greebo Assigned To => greebo
05.08.2022 06:15 greebo Status confirmed => assigned
05.08.2022 06:15 greebo Target Version => 3.1.0
05.08.2022 06:15 greebo Status assigned => resolved
05.08.2022 06:15 greebo Resolution open => fixed
05.08.2022 06:15 greebo Fixed in Version => 3.1.0