diff --git a/3d-viewer/3d_rendering/3d_render_raytracing/c3d_render_raytracing.cpp b/3d-viewer/3d_rendering/3d_render_raytracing/c3d_render_raytracing.cpp index f712b04390..ae42fdba53 100644 --- a/3d-viewer/3d_rendering/3d_render_raytracing/c3d_render_raytracing.cpp +++ b/3d-viewer/3d_rendering/3d_render_raytracing/c3d_render_raytracing.cpp @@ -70,6 +70,8 @@ C3D_RENDER_RAYTRACING::C3D_RENDER_RAYTRACING( CINFO3D_VISU &aSettings ) : m_isPreview = false; m_rt_render_state = RT_RENDER_STATE_MAX; // Set to an initial invalid state + m_stats_start_rendering_time = 0; + m_nrBlocksRenderProgress = 0; } diff --git a/common/view/view.cpp b/common/view/view.cpp index 726e0a734b..f46c147436 100644 --- a/common/view/view.cpp +++ b/common/view/view.cpp @@ -50,6 +50,7 @@ public: m_view( nullptr ), m_flags( KIGFX::VISIBLE ), m_requiredUpdate( KIGFX::NONE ), + m_drawPriority( 0 ), m_groups( nullptr ), m_groupsSize( 0 ) {}