b1951ac1ba
fix for [ #30738 ] Shading smooth/flat instability
...
Committing patch from Francisco De La Cruz ([#30753 ] Shade smooth not preserved when toggling editmode)
Thanks for researching this and providing fix.
2012-04-01 10:36:54 +00:00
e0d94b7244
minor speedup converting a BMesh to a Mesh - avoid loop over all faces to count how many loops to use, since BMesh stores totloop.
...
also use camel case for UndoMesh (convention)
2012-03-30 06:45:13 +00:00
bf21f02ad0
fix [ #30718 ] Selecting vertices, edges, faces and undoing - results in wrong header status info
...
converting mesh to bmesh resulted in incorrect stats.
2012-03-30 00:23:22 +00:00
3c11379e26
code cleanup: move bmesh inline funcs to headers (avoids compiling the C files).
2012-03-24 01:24:58 +00:00
d76c05cd36
style cleanup: bmesh
2012-03-21 09:10:08 +00:00
9dd0c4c232
rename define BM_INLINE -> BLI_INLINE to avoid confusion with bmesh defines.
2012-03-20 08:42:26 +00:00
4f19c1a995
spelling cleanup
2012-03-18 07:38:51 +00:00
b330abc290
remove Object member from BMesh struct - was only used for undo and BMEditMesh already stores an object pointer.
...
also fix for own mistake with mesh conversion refactor, shape key index was off by 1 when switching editmode.
2012-03-11 19:58:56 +00:00
050439fd9d
bmesh py api - correct class references in docs and rename mesh conversion funcs to ne less confusing.
2012-03-11 04:07:22 +00:00
e09ab8883c
bmesh:
...
- moved mesh conversion functions into their own file.
bmesh py api:
- can now create a new empty bmesh without first creating mesh data.
- added function to copy bmesh data back to a mesh.
- bmesh.from_mesh() can now get a mesh which isnt in editmode.
2012-03-10 20:41:19 +00:00