Merge pull request #1303 from Azaezel/alpha41/lightBright

fix light emission point for shapebaseimaged
This commit is contained in:
Brian Roberts 2024-08-07 17:49:43 -05:00 committed by GitHub
commit 9260250be1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3342,7 +3342,7 @@ void ShapeBase::submitLights( LightManager *lm, bool staticLighting )
image.lightInfo->setType( LightInfo::Point );
MatrixF imageMat;
getRenderImageTransform( i, &imageMat );
getRenderMuzzleTransform( i, &imageMat );
image.lightInfo->setTransform( imageMat );