Blender Git Commit Log
Git Commits -> Revision e5fd559
Revision e5fd559 by Sergey Sharybin (master) August 12, 2014, 19:48 (GMT) |
Fix T40566: Light instances disappears in rendered viewport (Blender Internal) This is just another issue caused by convertblender overwriting the object matrix at the time of creating render object. What's even worse here is that original matrix is not stored for the lamps, only lamp_matrix*view_matrix is stored. For sure we can combine lar->co and lar->mat back to mat4, multiply by the inverse view matrix and get object matrix, but this is not suitable for the viewport render because every viewport rotation will accumulate the error. For now let's store worldspace lamp matrix in the LampRen structure and use it when rotating the scene. |
Commit Details:
Full Hash: e5fd5599bc53183b3c919e9644ea6fd1eaa399e0
Parent Commit: e9ef7a8
Lines Changed: +6, -3