Blender Git Commit Log
Git Commits -> Revision 188f8d0
Revision 188f8d0 by Lukas Toenne (master) February 24, 2014, 18:00 (GMT) |
Fix T38801: Dupli objects with modifiers exhibit bad transform artifacts in Blender Internal renderer. The BI renderer applies modifiers //after// changing the obmat of the respective object (for the first instance it encounters). Before rB6940bf0 the original obmat (omat) was stored inside dupli object data, which was removed in favor of local omat variables due to hackishness and redundancy. Problem with BI is that all the obmats have to be overridden in relation to each other to produce the correct modifier results (here: offset object for the array modifier). The patch restores the old (messy) behavior for BI by first overriding **all** the obmats at once from duplis, then creating render instances, then cleaning up. A better solution would be to avoid these modifier hacks in BI altogether and properly evaluate them in the original object space, but that requires far greater changes to the old code base, and is out of scope for bugfixing. |
Commit Details:
Full Hash: 188f8d093504aa3dcf28efc404c395ad43fc633f
Parent Commit: 036d35d
Lines Changed: +35, -14
1 Modified Path:
/source/blender/render/intern/source/convertblender.c (+35, -14) (Diff)