Cleanup: fix various typos
Contributed by luzpaz. Differential Revision: https://developer.blender.org/D14203
This commit is contained in:
parent
5bb2b4236d
commit
f130d4f211
@ -502,7 +502,7 @@ else()
|
||||
set(WITH_EXPERIMENTAL_FEATURES OFF)
|
||||
endif()
|
||||
|
||||
# Unit testsing
|
||||
# Unit testing
|
||||
option(WITH_GTESTS "Enable GTest unit testing" OFF)
|
||||
option(WITH_OPENGL_RENDER_TESTS "Enable OpenGL render related unit testing (Experimental)" OFF)
|
||||
option(WITH_OPENGL_DRAW_TESTS "Enable OpenGL UI drawing related unit testing (Experimental)" OFF)
|
||||
|
@ -858,7 +858,7 @@ endif()
|
||||
# If atomic operations are possible without libatomic then linker flags are left as-is.
|
||||
function(CONFIGURE_ATOMIC_LIB_IF_NEEDED)
|
||||
# Source which is used to enforce situation when software emulation of atomics is required.
|
||||
# Assume that using 64bit integer gives a definitive asnwer (as in, if 64bit atomic operations
|
||||
# Assume that using 64bit integer gives a definitive answer (as in, if 64bit atomic operations
|
||||
# are possible using assembly/intrinsics 8, 16, and 32 bit operations will also be possible.
|
||||
set(_source
|
||||
"#include <atomic>
|
||||
|
@ -5,7 +5,7 @@ for %%X in (ctest.exe) do (set CTEST=%%~$PATH:X)
|
||||
for %%X in (git.exe) do (set GIT=%%~$PATH:X)
|
||||
REM For python, default on 39 but if that does not exist also check
|
||||
REM the 310,311 and 312 folders to see if those are there, it checks
|
||||
REM this far ahead to ensure good lib folder compatiblity in the future.
|
||||
REM this far ahead to ensure good lib folder compatibility in the future.
|
||||
set PYTHON=%BLENDER_DIR%\..\lib\win64_vc15\python\39\bin\python.exe
|
||||
if EXIST %PYTHON% (
|
||||
goto detect_python_done
|
||||
|
@ -100,7 +100,7 @@ class DeviceQueue {
|
||||
* based on number of cores and/or available memory. */
|
||||
virtual int num_concurrent_states(const size_t state_size) const = 0;
|
||||
|
||||
/* Number of states which keeps the device occupied with work without loosing performance.
|
||||
/* Number of states which keeps the device occupied with work without losing performance.
|
||||
* The renderer will add more work (when available) when number of active paths falls below this
|
||||
* value. */
|
||||
virtual int num_concurrent_busy_states() const = 0;
|
||||
|
@ -716,7 +716,7 @@ void CustomData_data_transfer(const struct MeshPairRemap *me_remap,
|
||||
* \param write_layers_buff: An optional buffer for r_write_layers (to avoid allocating it).
|
||||
* \param write_layers_size: The size of pre-allocated \a write_layer_buff.
|
||||
*
|
||||
* \warning After this funcion has ran, given custom data is no more valid from Blender POV
|
||||
* \warning After this function has ran, given custom data is no more valid from Blender POV
|
||||
* (its `totlayer` is invalid). This function shall always be called with localized data
|
||||
* (as it is in write_meshes()).
|
||||
*
|
||||
|
@ -1468,7 +1468,7 @@ static void editbmesh_calc_modifiers(struct Depsgraph *depsgraph,
|
||||
|
||||
/* set the DerivedMesh to only copy needed data */
|
||||
CustomData_MeshMasks_update(&mask, &append_mask);
|
||||
/* XXX WHAT? ovewrites mask ??? */
|
||||
/* XXX WHAT? overwrites mask ??? */
|
||||
/* CD_MASK_ORCO may have been cleared above */
|
||||
mask = md_datamask->mask;
|
||||
mask.vmask |= CD_MASK_ORIGINDEX;
|
||||
|
@ -5515,7 +5515,7 @@ static void constraints_init_typeinfo(void)
|
||||
constraintsTypeInfo[12] = &CTI_ACTION; /* Action Constraint */
|
||||
constraintsTypeInfo[13] = &CTI_LOCKTRACK; /* Locked-Track Constraint */
|
||||
constraintsTypeInfo[14] = &CTI_DISTLIMIT; /* Limit Distance Constraint */
|
||||
constraintsTypeInfo[15] = &CTI_STRETCHTO; /* StretchTo Constaint */
|
||||
constraintsTypeInfo[15] = &CTI_STRETCHTO; /* StretchTo Constraint */
|
||||
constraintsTypeInfo[16] = &CTI_MINMAX; /* Floor Constraint */
|
||||
/* constraintsTypeInfo[17] = &CTI_RIGIDBODYJOINT; */ /* RigidBody Constraint - Deprecated */
|
||||
constraintsTypeInfo[18] = &CTI_CLAMPTO; /* ClampTo Constraint */
|
||||
|
@ -607,7 +607,7 @@ static BMVert **bm_to_mesh_vertex_map(BMesh *bm, int ototvert)
|
||||
*
|
||||
* WARNING: There is an exception to the rule of ignoring coordinates in the destination:
|
||||
* that is when shape-key data in `bm` can't be found (which is itself an error/exception).
|
||||
* In this case our own rule is violated as the alternative is loosing the shape-data entirely.
|
||||
* In this case our own rule is violated as the alternative is losing the shape-data entirely.
|
||||
*
|
||||
* Flushing Coordinates Back to the #BMesh
|
||||
* ---------------------------------------
|
||||
|
@ -3,7 +3,7 @@
|
||||
/** \file
|
||||
* \ingroup bmesh
|
||||
*
|
||||
* Fill discreet edge loop(s) with faces.
|
||||
* Fill discrete edge loop(s) with faces.
|
||||
*/
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
@ -938,7 +938,7 @@ class ViewEdge : public Interface1D {
|
||||
FEdge *_FEdgeB; // last edge of the embedded fedges chain
|
||||
Id _Id;
|
||||
unsigned _ChainingTimeStamp;
|
||||
// The silhouette view edge separates 2 2D spaces. The one on the left is necessarly the Shape
|
||||
// The silhouette view edge separates two 2D spaces. The one on the left is necessarily the Shape
|
||||
// _Shape (the one to which this edge belongs to) and _aShape is the one on its right NOT HANDLED
|
||||
// BY THE COPY CONSTRUCTOR
|
||||
ViewShape *_aShape;
|
||||
|
@ -74,7 +74,7 @@ WXSmoothEdge *WXFaceLayer::BuildSmoothEdge()
|
||||
//-----------------------------
|
||||
// We retrieve the 2 edges for which we have opposite signs for each extremity
|
||||
RetrieveCuspEdgesIndices(cuspEdgesIndices);
|
||||
if (cuspEdgesIndices.size() != 2) { // we necessarly have 2 cusp edges
|
||||
if (cuspEdgesIndices.size() != 2) { // we necessarily have 2 cusp edges
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user