Skip to content

Commit

Permalink
Fixed the way Materials are displayed in Selene
Browse files Browse the repository at this point in the history
  • Loading branch information
KAHR-Alpha committed Aug 4, 2023
1 parent 0e01b72 commit a7dc3ef
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ Todo:
- Tangent vectors managements for Selene
- Implement the Lambertian, Guassian and ABg scattering models ( see "What scattering models are available in OpticStudio?" )

0.10.2
- Fixed how Materials are displayed in Selene

0.10.1
- Fixed the messed-up Mie Tool GUI due to the material rework of 0.10

Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ endfunction()

set(CPACK_PACKAGE_VERSION_MAJOR 0)
set(CPACK_PACKAGE_VERSION_MINOR 10)
set(CPACK_PACKAGE_VERSION_PATCH 1)
set(CPACK_PACKAGE_VERSION_PATCH 2)

set(TASK "Build CLI" CACHE STRING "What to do")
set_property(CACHE TASK PROPERTY STRINGS "Build CLI" "Build CLI+GUI")
Expand Down
2 changes: 2 additions & 0 deletions src/GUI/Selene/gui_selene_materials.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ MaterialPanel::MaterialPanel(wxWindow *parent,
title->Hide();

selector=new MaterialSelector(this,"",true,material);
selector->hide_description();
selector->hide_validity();

sizer->Add(selector,wxSizerFlags().Expand());
}
Expand Down

0 comments on commit a7dc3ef

Please sign in to comment.