Commit Graph

11 Commits

Author SHA1 Message Date
63caaa2b12 Code Cleanup: rename vars for detecting change to be more consistent
rename change/is_change/is_changed/modified -> changed
also use bools over int/short/char and once accidental float.
2013-11-26 06:39:14 +11:00
7fc1088164 Fix [#37388] Grid fill crashes blender in specific situation.
With some geometries, we can have a valid first path, without being able to find a valid second one, added needed check.
2013-11-11 14:29:01 +00:00
7c8c49a34a style cleanup 2013-10-21 23:35:08 +00:00
3527d2fb27 code cleanup: quiet warnings 2013-09-08 06:05:42 +00:00
4f369c1e2d use strict flags for gridfill, use unsigned ints. 2013-09-07 08:41:29 +00:00
0423d2b252 changes to grid fill
- use 4 weights for vertex customdata blending (was previously only using 2)
- option for simple blending, which blends locations using weights too and doesn't attempt to maintain the shape,
  useful for flat surfaces or times when keeping the shape gives odd results.
2013-09-07 08:13:39 +00:00
63ade11564 grid-fill support for customdata, so filled areas have UV's, vertex colors etc interpolated from the boundary.
also support cases where only some of the boundary edges have faces to interpolate from.
2013-09-06 06:48:17 +00:00
9470754fd3 bmesh api cleanup, face creation args now accept an example face (as with vertex and edge),
also replace BM_face_create_quad_tri_v with BM_face_create_verts
2013-08-21 07:51:47 +00:00
8937a8b839 use BM_CREATE_NOP arg rather then zero, with pointer and bool args in either side in some cases it gets a bit confusing.
also correct edge-rotate where bool->flag conversion worked by accident.
2013-08-21 05:39:46 +00:00
c630435b3c fix own error with removing vertex weights not checking for non-existing weights.
however this exposed some other odd behavior.

removing a vertex group would add one if not found but only for meshes, not lattices.

now just skip removal if not found.
2013-06-04 19:37:18 +00:00
7781312346 code cleanup: rename bmesh operator files to be more consistent 2013-05-20 07:38:11 +00:00