Blender Git Loki
Git Commits -> Revision 5acde0d
Revision 5acde0d by Sergey Sharybin (master) November 24, 2011, 14:30 (GMT) |
Fix #29369: bpy.data.curves.new(name= "test" , type = 'SURFACE') does not create a surface This issue it totally related on issue with changing object datablock. For curves it used to guess object type from curve datablock based on count of control points in V direction. This quess fails in case when SurfCircle datablock is trying to be reused by another surface object or as another sample empty surface databouck used to be treated as curve. Store type in Curve when creating new Curve datablock which is used in this object type quessing function. Note: Previously saved files wouldn't change behavior at all. |
Commit Details:
Full Hash: 5acde0d24c72a4ee2149d1105986f5f119231686
SVN Revision: 42126
Parent Commit: c1c3d66
Lines Changed: +17, -6