From 7233f4658e12a920b9e3d26325ed9598e6cee33d Mon Sep 17 00:00:00 2001 From: Jacob Ledbetter Date: Sat, 12 Sep 2026 21:08:11 -0600 Subject: [PATCH] fix(WW3D2): Let Volume Particles assume default size if no size array is given --- Core/Libraries/Source/WWVegas/WW3D2/pointgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/Libraries/Source/WWVegas/WW3D2/pointgr.cpp b/Core/Libraries/Source/WWVegas/WW3D2/pointgr.cpp index 56c47e0f29f..7cc010dc050 100644 --- a/Core/Libraries/Source/WWVegas/WW3D2/pointgr.cpp +++ b/Core/Libraries/Source/WWVegas/WW3D2/pointgr.cpp @@ -1790,7 +1790,7 @@ void PointGroupClass::RenderVolumeParticle(RenderInfoClass &rinfo, unsigned int // 3 times per particle when we can do it once float recipDepth = 0.1f / (float)depth; - float shiftInc = ( t * *current_size * recipDepth ); + float shiftInc = t * (current_size ? *current_size : DefaultPointSize) * recipDepth; Vector3 volumeLayerShift; Vector3 cameraPosition = rinfo.Camera.Get_Position();