Cleanup: spelling

This commit is contained in:
Campbell Barton 2020-10-09 12:12:29 +11:00
parent 05710171cb
commit afc090f339
5 changed files with 8 additions and 8 deletions

View File

@ -76,9 +76,9 @@ OSLShaderManager::~OSLShaderManager()
void OSLShaderManager::free_memory()
{
# ifdef OSL_HAS_BLENDER_CLEANUP_FIX
/* There is a problem with llvm+osl: The order global destructors across
/* There is a problem with LLVM+OSL: The order global destructors across
* different compilation units run cannot be guaranteed, on windows this means
* that the llvm destructors run before the osl destructors, causing a crash
* that the LLVM destructors run before the osl destructors, causing a crash
* when the process exits. the OSL in svn has a special cleanup hack to
* sidestep this behavior */
OSL::pvt::LLVM_Util::Cleanup();

View File

@ -1599,7 +1599,7 @@ GHOST_TSuccess GHOST_SystemCocoa::handleMouseEvent(void *eventPtr)
window->getClientBounds(bounds);
/* Switch back to Cocoa coordinates orientation
* (y=0 at bottom, the same as blender internal btw!), and to client coordinates. */
* (y=0 at bottom, the same as blender internal BTW!), and to client coordinates. */
window->getClientBounds(windowBounds);
window->screenToClient(bounds.m_l, bounds.m_b, correctedBounds.m_l, correctedBounds.m_t);
window->screenToClient(bounds.m_r, bounds.m_t, correctedBounds.m_r, correctedBounds.m_b);

View File

@ -255,8 +255,8 @@ static GHOST_TKey convertSDLKey(SDL_Scancode key)
/* keypad events */
/* note, sdl defines a bunch of kp defines I never saw before like
* SDL_SCANCODE_KP_PERCENT, SDL_SCANCODE_KP_XOR - campbell */
/* NOTE: SDL defines a bunch of key-pad identifiers that aren't supported by GHOST,
* such as #SDL_SCANCODE_KP_PERCENT, #SDL_SCANCODE_KP_XOR. */
GXMAP(type, SDL_SCANCODE_KP_0, GHOST_kKeyNumpad0);
GXMAP(type, SDL_SCANCODE_KP_1, GHOST_kKeyNumpad1);
GXMAP(type, SDL_SCANCODE_KP_2, GHOST_kKeyNumpad2);

View File

@ -354,7 +354,7 @@ class GHOST_SystemWin32 : public GHOST_System {
* Process special keys (VK_OEM_*), to see if current key layout
* gives us anything special, like ! on french AZERTY.
* \param vKey The virtual key from hardKey
* \param scanCode The ScanCode of pressed key (simular to PS/2 Set 1)
* \param scanCode The ScanCode of pressed key (similar to PS/2 Set 1)
*/
GHOST_TKey processSpecialKey(short vKey, short scanCode) const;

View File

@ -3000,9 +3000,9 @@ void CustomData_free_elem(CustomData *data, int index, int count)
* \param weights: The weight to apply to each source value individually. If NULL, they will be
* averaged.
* \param sub_weights: The weights of sub-items, only used to affect each corners of a
* tesselated face data (should alwasy be and array of four values).
* tessellated face data (should always be and array of four values).
* \param count: The number of source items to interpolate.
* \param dest_index: Index of the destination item, in ahich to put the result of the
* \param dest_index: Index of the destination item, in which to put the result of the
* interpolation.
*/
void CustomData_interp(const CustomData *source,