Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-07-05Merge branch 'master' into strand_editmodeLukas Tönne
2016-06-27Merge branch 'master' into strand_editmodeLukas Tönne
2016-04-19Define BMEditStrands struct as an extension of BMEditMesh.Lukas Tönne
The advantage is that we can now use this struct in the (rather involved) process of generating a display DerivedMesh and apply modifiers to it.
2015-04-20Fix for strands undo creating an invalid BMesh.Lukas Tönne
When copying mesh data to bmesh the MVERT and similar customdata types have to be omitted. Otherwise the bmesh instance ends up with NULL pointers in customdata layers, but entries in the typemap != -1. The effect was that when storing new steps after one or more undo, the resulting original data would be copied, and subsequent undo steps are ignored.
2015-04-20Minor code reshuffling.Lukas Tönne
2015-04-20Extended Mesh <-> BMesh copy function versions for specifying customLukas Tönne
data masks explicitly. A dummy mesh is used for strand edit undo storage like in mesh edit to prevent unnecessary code duplication. However, when copying from/to BMesh only the mesh data layers are copied by default, omitting the new data layers for strands (currently only MSurfaceSample hair root data).
2015-04-20Basic undo support in the new strand edit mode.Lukas Tönne
This uses the generalized undo stack system which is also used for object data edit. An extension is necessary to tell the undo functions which object is specifically used for generating undo data and identifying the stack, since strand editing does not edit the obdata itself.