Blender Git Loki

Blender Git "tmp_hair_curves" branch commits.

Page: 14 / 19

May 4, 2015, 15:52 (GMT)
Added missing CD layer type name for MSurfaceSample.
May 4, 2015, 15:14 (GMT)
Merge branch 'master' into strand_editmode

Conflicts:
source/blender/bmesh/bmesh_class.h
source/blender/bmesh/intern/bmesh_mesh_conv.h
April 20, 2015, 10:59 (GMT)
Particle shapekey code is only in the gooseberry branch, disabled here.
April 20, 2015, 10:58 (GMT)
SimDebugData is now global, for easier usage and less intrusive code.
April 20, 2015, 10:37 (GMT)
Fix for CustomDataType syntax error from merging.
April 20, 2015, 10:25 (GMT)
Cleanup: rename function argument for consistency.
April 20, 2015, 10:25 (GMT)
Use the X mirror option in new strand edit stroke brush tools.

Note that currently this has virtually no effect, because the mirror
option relies on exact positions of vertices, which does not happen with
random hair placement (the add brush has no mirror option yet).

Eventually topological mirroring should help with this case, but is not
implemented for either old or new strand edit yet.
April 20, 2015, 10:25 (GMT)
Utility methods for mirrored strand editing.

These are a modified version of their BMEditMesh counterparts.

use_topology is not yet implemented for strands. Native strand topology
is not very useful for this. Instead, the topology of the scalp mesh
should be used for finding mirrored strand roots, then the arc- or
parametric length of a vertex from the root to find mirrored verts.

Conflicts:
source/blender/blenkernel/BKE_editstrands.h
April 20, 2015, 10:24 (GMT)
Minor code reshuffling.
April 20, 2015, 10:24 (GMT)
Fix for strands undo creating an invalid BMesh.

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.
April 20, 2015, 10:24 (GMT)
Sanity check: if there is no edited/active object for an undo step,
consider it invalid and clean up.
April 20, 2015, 10:24 (GMT)
Removed deprecated UI button for the hair debug flag.
April 20, 2015, 10:24 (GMT)
Extended Mesh <-> BMesh copy function versions for specifying custom
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).
April 20, 2015, 10:24 (GMT)
Basic undo support in the new strand edit mode.

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.
April 20, 2015, 10:24 (GMT)
Disabled the partial IK strand relaxation for the time being.

First goal is to reproduce current particle edit tools in the strand
edit mode, then make improvements.
April 20, 2015, 10:24 (GMT)
Border Select operator for hair edit mode.
April 20, 2015, 10:24 (GMT)
Select Linked operator for hair edit mode (select all vertices of a
strand).
April 20, 2015, 10:24 (GMT)
Select/Deselect All operator for hair edit mode.
April 20, 2015, 10:24 (GMT)
Lasso Select operator for hair edit mode.
April 20, 2015, 10:24 (GMT)
Mouse Select operator for hair edit mode.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021