View Issue Details

IDProjectCategoryView StatusLast Update
0006045DarkRadiantGUIpublic06.08.2022 08:42
ReporterDragofer Assigned Togreebo  
PrioritynormalSeveritynormalReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.0.0 
Target Version3.1.0Fixed in Version3.1.0 
Summary0006045: Material Editor: doesn't remember settings from previous session
DescriptionWhen the Material Editor is opened it starts with the material currently selected in the media browser, and the preview set to show a cube in "Textured Mode" with light coming from a "light_torchflame" entity.

It'd be good if it remembered some of the settings from the previous Material Editor session (maybe even from the previous DR session) to match the mapper's (current) preferences for whatever they're doing:
1) cube or sphere or plane
2) textured or lighting mode
3) classname of the light entity
4) previous material. This is maybe a bit tricky because the Material Editor takes into account which material is selected in the Media Browser. Maybe the ideal would be (a) if the mapper has selected a different material in the Media Browser since closing the Material Editor, use the material selected in the Media Browser, (b) else use the material that was selected when the Material Editor was last closed.
TagsNo tags attached.

Relationships

related to 0006048 resolvedgreebo Material Editor: allow to change preview background 

Activities

There are no notes attached to this issue.

Related Changesets

DarkRadiant: master 9115f4ca

2022-08-06 06:46:50

greebo

Details Diff
0006045: Add method to define the render mode at widget construction time, before any render context is available.
Calling RenderPreview::setLightingModeEnabled() too early causes openGL errors when compiling the shader programs.
Affected Issues
0006045
mod - libs/wxutil/preview/RenderPreview.cpp Diff File
mod - libs/wxutil/preview/RenderPreview.h Diff File

DarkRadiant: master 027cb573

2022-08-06 08:07:23

greebo

Details Diff
0006045: Save/restore a few MaterialEditor settings Affected Issues
0006045
mod - radiant/ui/materials/editor/MaterialEditor.cpp Diff File
mod - radiant/ui/materials/editor/MaterialEditor.h Diff File
mod - radiant/ui/materials/editor/MaterialPreview.cpp Diff File
mod - radiant/ui/materials/editor/MaterialPreview.h Diff File

DarkRadiant: master 532855b4

2022-08-06 08:27:35

greebo

Details Diff
0006045: Fix a problem setting the test model type using the tool buttons Affected Issues
0006045
mod - radiant/ui/materials/editor/MaterialPreview.cpp Diff File

DarkRadiant: master 717facd6

2022-08-06 08:39:52

greebo

Details Diff
0006045: Remember view origin and angles Affected Issues
0006045
mod - libs/wxutil/preview/RenderPreview.cpp Diff File
mod - libs/wxutil/preview/RenderPreview.h Diff File
mod - radiant/ui/materials/editor/MaterialEditor.cpp Diff File
mod - radiant/ui/materials/editor/MaterialPreview.cpp Diff File

DarkRadiant: master 574a3b4c

2022-08-06 08:42:29

greebo

Details Diff
0006045: Remember lighting mode setting Affected Issues
0006045
mod - radiant/ui/materials/editor/MaterialPreview.cpp Diff File

Issue History

Date Modified Username Field Change
31.07.2022 10:52 Dragofer New Issue
31.07.2022 11:13 Dragofer Description Updated
31.07.2022 11:14 Dragofer Description Updated
31.07.2022 11:21 Dragofer Relationship added related to 0006048
31.07.2022 15:05 greebo Status new => acknowledged
06.08.2022 06:44 greebo Status acknowledged => confirmed
06.08.2022 06:44 greebo Assigned To => greebo
06.08.2022 06:44 greebo Status confirmed => assigned
06.08.2022 06:44 greebo Target Version => 3.1.0
06.08.2022 08:42 greebo Changeset attached => DarkRadiant master 9115f4ca
06.08.2022 08:42 greebo Changeset attached => DarkRadiant master 027cb573
06.08.2022 08:42 greebo Changeset attached => DarkRadiant master 532855b4
06.08.2022 08:42 greebo Changeset attached => DarkRadiant master 717facd6
06.08.2022 08:42 greebo Changeset attached => DarkRadiant master 574a3b4c
06.08.2022 08:42 greebo Status assigned => resolved
06.08.2022 08:42 greebo Resolution open => fixed
06.08.2022 08:42 greebo Fixed in Version => 3.1.0