Cleanup: spelling in comments, comment block formatting
This commit is contained in:
@@ -128,11 +128,12 @@ void action_groups_clear_tempflags(struct bAction *act);
|
||||
/**
|
||||
* Return whether the action has one unique point in time keyed.
|
||||
*
|
||||
* This is mostly for the pose library, which will have different behaviour depending on whether an
|
||||
* This is mostly for the pose library, which will have different behavior depending on whether an
|
||||
* Action corresponds to a "pose" (one keyframe) or "animation snippet" (multiple keyframes).
|
||||
*
|
||||
* \return `false` when there is no keyframe at all or keys on different points in time, `true`
|
||||
* when exactly one point in time is keyed. */
|
||||
* when exactly one point in time is keyed.
|
||||
*/
|
||||
bool BKE_action_has_single_frame(const struct bAction *act);
|
||||
|
||||
/* Pose API ----------------- */
|
||||
|
||||
@@ -134,8 +134,10 @@ enum {
|
||||
LIB_ID_COPY_SHAPEKEY = 1 << 26,
|
||||
/** EXCEPTION! Specific deep-copy of node trees used e.g. for rendering purposes. */
|
||||
LIB_ID_COPY_NODETREE_LOCALIZE = 1 << 27,
|
||||
/** EXCEPTION! Specific handling of RB objects regarding collections differs depending whether we
|
||||
duplicate scene/collections, or objects. */
|
||||
/**
|
||||
* EXCEPTION! Specific handling of RB objects regarding collections differs depending whether we
|
||||
* duplicate scene/collections, or objects.
|
||||
*/
|
||||
LIB_ID_COPY_RIGID_BODY_NO_COLLECTION_HANDLING = 1 << 28,
|
||||
|
||||
/* *** Helper 'defines' gathering most common flag sets. *** */
|
||||
|
||||
@@ -307,20 +307,20 @@ class BezierSpline final : public Spline {
|
||||
blender::MutableSpan<HandleType> handle_types_left();
|
||||
blender::Span<blender::float3> handle_positions_left() const;
|
||||
/**
|
||||
* Get writable access to the hande position.
|
||||
* Get writable access to the handle position.
|
||||
*
|
||||
* \param write_only: pass true for an uninitialized spline, this prevents accessing
|
||||
* uninitialized memory while autogenerating handles.
|
||||
* uninitialized memory while auto-generating handles.
|
||||
*/
|
||||
blender::MutableSpan<blender::float3> handle_positions_left(bool write_only = false);
|
||||
blender::Span<HandleType> handle_types_right() const;
|
||||
blender::MutableSpan<HandleType> handle_types_right();
|
||||
blender::Span<blender::float3> handle_positions_right() const;
|
||||
/**
|
||||
* Get writable access to the hande position.
|
||||
* Get writable access to the handle position.
|
||||
*
|
||||
* \param write_only: pass true for an uninitialized spline, this prevents accessing
|
||||
* uninitialized memory while autogenerating handles.
|
||||
* uninitialized memory while auto-generating handles.
|
||||
*/
|
||||
blender::MutableSpan<blender::float3> handle_positions_right(bool write_only = false);
|
||||
void ensure_auto_handles() const;
|
||||
|
||||
@@ -422,7 +422,7 @@ static float dvar_eval_locDiff(ChannelDriver *driver, DriverVar *dvar)
|
||||
}
|
||||
}
|
||||
else {
|
||||
/* Convert to worldspace. */
|
||||
/* Convert to world-space. */
|
||||
copy_v3_v3(tmp_loc, pchan->pose_head);
|
||||
mul_m4_v3(ob->obmat, tmp_loc);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user