Skip to content

Commit

Permalink
Remove deprecated shading=false
Browse files Browse the repository at this point in the history
  • Loading branch information
tomyun committed Apr 9, 2024
1 parent 70de6f2 commit 626aca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CropRootBox.jl
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ render(s::RootArchitecture; soilcore=nothing, size=(500, 500)) = begin
scene = Makie.LScene(fig[1, 1])
Makie.mesh!(scene, mesh(s))
#HACK: customization for container
Makie.mesh!(scene, mesh(s.box), color=(:black, 0.02), transparency=true, shading=false)
Makie.mesh!(scene, mesh(s.box), color=(:black, 0.02), transparency=true)
!isnothing(soilcore) && Makie.mesh!(scene, mesh(soilcore), color=(:purple, 0.1), transparency=true, shading=false)
Makie.cam3d!(scene, projectiontype = Makie.Orthographic)
fig
Expand Down

0 comments on commit 626aca4

Please sign in to comment.