Blender Git Loki

Kaikki Blender Git kommitit.

Page: 5082 / 8462

February 1, 2015, 15:06 (GMT)
Documentation: updated mathutils documentation

Added descriptions of the constructors, and improved the module-level doc
to link to the classes.
February 1, 2015, 14:23 (GMT)
cleanup: use const
Revision 794b915 by Lukas Toenne
February 1, 2015, 13:20 (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.
February 1, 2015, 13:00 (GMT)
Documentation: Support documenting constructors in class __doc__

Python types defined in C can now start their docstring with a
`.. class:: TypeName(args)` line, to document their constructor.
In that case the documentation writer is responsible for indenting the
remainder of the docstring by 3 spaces, matching the generated
documentation.
February 1, 2015, 12:06 (GMT)
mathutils: added exponential map to Quaternion

Added conversion to and from exponential map representation. This
representation is useful for interpolation of > 2 quaternions, or in
PD controllers.

Implementation in C functions quat_to_expmap,
quat_normalized_to_expmap, and expmap_to_quat with Python API, unit
tests and documentation.

Added Quaternion.to_exponential_map() and Quaternion(3-vector) to
Python API.

Reviewers: campbellbarton

Projects: #bf_blender

Differential Revision: https://developer.blender.org/D1049
February 1, 2015, 11:40 (GMT)
no need to use mul_vn_fl when size is known
February 1, 2015, 11:37 (GMT)
minor edits to expmap functions

add quat_normalized_to_expmap incase we know the quats already unit length
February 1, 2015, 10:58 (GMT)
mathutils: added exponential map to Quaternion

Added conversion to and from exponential map representation. This representation is useful for interpolation of > 2 quaternions, or in PD controllers.

Implementation in C functions `quat_to_expmap(...)` and `expmap_to_quat(...)` with Python API, unit tests and documentation.
Added Quaternion.to_exponential_map() and Quaternion(3-vector) to Python API.

Reviewers: campbellbarton

Projects: #bf_blender

Differential Revision: https://developer.blender.org/D1049
February 1, 2015, 09:34 (GMT)
Fix: correctly describing Quaternion.normalize()

The original comment seems to suggest that only the rotation vector
is normalized, leaving the rotation angle alone. This is not what happens,
though. The new comment matches the actual implementation, and the
implementation matches what is commonly understood as quaternion
normalization.
February 1, 2015, 08:18 (GMT)
BMesh: remove redundant connect-nonplanar loop
January 31, 2015, 17:19 (GMT)
WM: empty menu so addons can extend the splash
January 31, 2015, 17:19 (GMT)
Cleanup: style
January 31, 2015, 16:15 (GMT)
Blender metadata changes to accommodate non string data

Work towards T42418

For now got rid of linked list holding key,value pairs for metadata in favour of ID properties.

Reviewers: campbellbarton, sergey

Reviewed By: sergey

Projects: #bf_blender

Differential Revision: https://developer.blender.org/D872
January 31, 2015, 15:00 (GMT)
Add PIL_check_seconds_timer_i to avoid casting

note, win32 casts still casts from double.
January 31, 2015, 14:17 (GMT)
Compiler warning: double-promotion
January 31, 2015, 13:37 (GMT)
Comment for math defines, also add M_PI_4
January 31, 2015, 09:39 (GMT)
Fix T43496: Infinite loop in kernel when using surface attribute for volume

The issue was caused bu the optimization in surface attributes for cases when
there's only a volume shader used. Some attributes doesn't make sense in that
case and were skipped from calculation.

However, it is possible that kernel would still try to access them (because of
the shader setup etc). Prevented an infinite loop in the kernel now, which
should not have much affect on regular renders.
January 30, 2015, 23:53 (GMT)
Depsgraph: Ported over ability to use vertex-group targets for IK constraints

Vertex group targets are supported by the constraint system, but were not
accounted for by the new depsgraph building code. This adds that support.

NOTE: Ideally, this wouldn't require a separate set of logic, but we need
these links to be attached to the solver and not the constraint, so
things have to be done this way.
January 30, 2015, 23:50 (GMT)
Depsgraph: Fix for deadlock when IK targets depend on a bone in the chain

This hack tags the target as being part of the IK chain, so that when adding the
constraints, the "ready" state will be used instead of "done" to avoid the deadlock.
There don't seem to be any readily observed ill-effects of this patch, so I guess
it's fine.
January 30, 2015, 23:47 (GMT)
Depsgraph: Temporary debugging code to check that the IK chains are getting built correctly
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021