3d_rendering/raytracing/create_scene.cpp: add test missing in commit 22256c97

Fixes #15560
https://gitlab.com/kicad/code/kicad/-/issues/15560
This commit is contained in:
jean-pierre charras 2023-09-01 15:47:02 +02:00
parent aa0df6aaa4
commit fe18a9bf97
1 changed files with 4 additions and 0 deletions

View File

@ -682,6 +682,10 @@ void RENDER_3D_RAYTRACE::Reload( REPORTER* aStatusReporter, REPORTER* aWarningRe
if( layer_id == B_Mask && !layerFlags.test( LAYER_3D_SOLDERMASK_BOTTOM ) )
continue;
// Only Mask layers are processed here because they are negative layers
if( layer_id != F_Mask && layer_id != B_Mask )
continue;
SFVEC3F layerColor;
if( layer_id == B_Mask )