Blender Git Loki
Git Commits -> Revision 4494b82
Revision 4494b82 by Joseph Eagar (master) January 26, 2007, 21:06 (GMT) |
=Displace modifier fix= This commit fixes displace modifier to propery support arbitrary uv layers. This seemed like a fairly big usability bug, as displace modifiers would use the active UV layer (and thus could change when you changed the active layer). The modifier UI code now uses a menu for browsing the uv layers, however only the uv layer name is actually stored, so that adding/deleting layers won't mess up displace modifiers. Whenever a displace modifier has an invalid UV name (for whatever reason) the UV name is set to the active layer. This is checked both in the UI code and in the modifier exec code, so all bases are covered. For deleting a layer, this required upgrading the layer delete code in the UI to properly preserve the active layer, to prevent unwanted behaviour. I hope this is an ok solution. Brecht, Ben you might want to look over and make sure I didn't break anything. I don't think I did, I tested as thouroughly as I could. |
Commit Details:
Full Hash: 4494b829b088054966388b29f0705376bf8622a5
Parent Commit: 40d49de
Lines Changed: +110, -12