Blender Git Loki
Git Commits -> Revision 87211a4
Revision 87211a4 by Sergey Sharybin (master) June 8, 2012, 08:17 (GMT) |
Fix #31743: Applying Smooth modifier to a curve crashes Blender Actually there were two different issues involved here: - Recently enabled Smooth modifier wasn't actually designed for curves, so it in fact requires a bit bigger work to make it working. For now added check for object's typy in this modifier and if it's not mesh, it wouldn't try to use edges. The reason why it worked in 3d viewport is that creating DM from curve while displist is still ocntrcuting for would result in empty CDDM and that leads to not taking edges into account, only vertexCos passed to modifier would be used. This makes it behaving a bit differently from if it was a mesh, but still gives quite reasonable result. Would leave actual fix for a guy who enabled smooth modifier. - Another issue is related on ensuring sculpt mask layer after applying modifier. This shall happen only for meshes. |
Commit Details:
Full Hash: 87211a49ab1c249d5c885706ba9130ed3bd0e0b4
SVN Revision: 47599
Parent Commit: 54297c8
Lines Changed: +12, -4