Explorar o código

Merge pull request #1303 from Azaezel/alpha41/lightBright

fix light emission point for shapebaseimaged
Brian Roberts hai 1 ano
pai
achega
9260250be1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Engine/source/T3D/shapeImage.cpp

+ 1 - 1
Engine/source/T3D/shapeImage.cpp

@@ -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 );