Cleanup: spelling, comments
This commit is contained in:
@@ -2409,7 +2409,7 @@ static bool ob_parcurve(Object *ob, Object *par, float mat[4][4])
|
||||
/* ctime is now a proper var setting of Curve which gets set by Animato like any other var
|
||||
* that's animated, but this will only work if it actually is animated.
|
||||
*
|
||||
* We divide the curvetime calculated in the previous step by the length of the path,
|
||||
* We divide the curve-time calculated in the previous step by the length of the path,
|
||||
* to get a time factor, which then gets clamped to lie within 0.0 - 1.0 range.
|
||||
*/
|
||||
if (cu->pathlen) {
|
||||
@@ -3964,17 +3964,20 @@ int BKE_object_is_modified(Scene *scene, Object *ob)
|
||||
return flag;
|
||||
}
|
||||
|
||||
/* Check of objects moves in time. */
|
||||
/* NOTE: This function is currently optimized for usage in combination
|
||||
* with mti->canDeform, so modifiers can quickly check if their target
|
||||
* objects moves (causing deformation motion blur) or not.
|
||||
/**
|
||||
* Check of objects moves in time.
|
||||
*
|
||||
* \note This function is currently optimized for usage in combination
|
||||
* with modifier deformation checks (#eModifierTypeType_OnlyDeform),
|
||||
* so modifiers can quickly check if their target objects moves
|
||||
* (causing deformation motion blur) or not.
|
||||
*
|
||||
* This makes it possible to give some degree of false-positives here,
|
||||
* but it's currently an acceptable tradeoff between complexity and check
|
||||
* speed. In combination with checks of modifier stack and real life usage
|
||||
* percentage of false-positives shouldn't be that high.
|
||||
*
|
||||
* NOTE: This function does not consider physics systems.
|
||||
* \note This function does not consider physics systems.
|
||||
*/
|
||||
bool BKE_object_moves_in_time(const Object *object, bool recurse_parent)
|
||||
{
|
||||
|
||||
@@ -144,7 +144,7 @@ struct float3 {
|
||||
}
|
||||
|
||||
/**
|
||||
* Normalizes the vector inplace.
|
||||
* Normalizes the vector in place.
|
||||
*/
|
||||
void normalize()
|
||||
{
|
||||
|
||||
@@ -96,7 +96,7 @@ class RNANodeQuery {
|
||||
|
||||
/* Check whether prop_identifier contains rna_path_component.
|
||||
*
|
||||
* This checks more than a substring:
|
||||
* This checks more than a sub-string:
|
||||
*
|
||||
* prop_identifier contains(prop_identifier, "location")
|
||||
* ------------------------ -------------------------------------
|
||||
|
||||
@@ -1628,9 +1628,9 @@ static void knife_find_line_hits(KnifeTool_OpData *kcd)
|
||||
plane_from_point_normal_v3(plane, v1, plane);
|
||||
}
|
||||
|
||||
/* First use bvh tree to find faces, knife edges, and knife verts that might
|
||||
/* First use BVH tree to find faces, knife edges, and knife verts that might
|
||||
* intersect the cut plane with rays v1-v3 and v2-v4.
|
||||
* This deduplicates the candidates before doing more expensive intersection tests. */
|
||||
* This de-duplicates the candidates before doing more expensive intersection tests. */
|
||||
|
||||
tree = BKE_bmbvh_tree_get(kcd->bmbvh);
|
||||
results = BLI_bvhtree_intersect_plane(tree, plane, &tot);
|
||||
|
||||
@@ -312,7 +312,7 @@ void gpu_extensions_init(void)
|
||||
if (GPU_type_matches(GPU_DEVICE_INTEL, GPU_OS_WIN, GPU_DRIVER_OFFICIAL)) {
|
||||
/* Limit this fix to older hardware with GL < 4.5. This means Broadwell GPUs are
|
||||
* covered since they only support GL 4.4 on windows.
|
||||
* This fixes some issues with workbench antialiasing on Win + Intel GPU. (see T76273) */
|
||||
* This fixes some issues with workbench anti-aliasing on Win + Intel GPU. (see T76273) */
|
||||
if (!GLEW_VERSION_4_5) {
|
||||
GG.texture_copy_workaround = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user