Cleanup: spelling in comments
This commit is contained in:
parent
c4eb70e543
commit
9d9c05a101
Notes:
blender-bot
2023-02-14 00:44:02 +01:00
Referenced by commit 3a8c57cf9d
, Support Ctrl-C to cancel rendering with headless builds
|
@ -114,7 +114,7 @@ GHOST_TSuccess GHOST_ISystem::createSystemBackground()
|
|||
GHOST_TSuccess success;
|
||||
if (!m_system) {
|
||||
#if !defined(WITH_HEADLESS)
|
||||
/* Try to create a offscreen render surface with the graphical systems. */
|
||||
/* Try to create a off-screen render surface with the graphical systems. */
|
||||
success = createSystem();
|
||||
if (success) {
|
||||
return success;
|
||||
|
|
|
@ -1342,7 +1342,7 @@ ImBuf *BKE_tracking_stabilize_frame(
|
|||
return ibuf;
|
||||
}
|
||||
|
||||
/* Allocate frame for stabilization result, copy alpha mode and colorspace. */
|
||||
/* Allocate frame for stabilization result, copy alpha mode and color-space. */
|
||||
ibuf_flags = 0;
|
||||
if (ibuf->rect) {
|
||||
ibuf_flags |= IB_rect;
|
||||
|
|
|
@ -38,7 +38,7 @@ constexpr eGPUSamplerState with_filter = GPU_SAMPLER_FILTER;
|
|||
enum eDebugMode : uint32_t {
|
||||
DEBUG_NONE = 0u,
|
||||
/**
|
||||
* Gradient showing light evaluation hotspots.
|
||||
* Gradient showing light evaluation hot-spots.
|
||||
*/
|
||||
DEBUG_LIGHT_CULLING = 1u,
|
||||
/**
|
||||
|
@ -46,7 +46,7 @@ enum eDebugMode : uint32_t {
|
|||
*/
|
||||
DEBUG_HIZ_VALIDATION = 2u,
|
||||
/**
|
||||
* Tilemaps to screen. Is also present in other modes.
|
||||
* Tile-maps to screen. Is also present in other modes.
|
||||
* - Black pixels, no pages allocated.
|
||||
* - Green pixels, pages cached.
|
||||
* - Red pixels, pages allocated.
|
||||
|
@ -57,8 +57,8 @@ enum eDebugMode : uint32_t {
|
|||
*/
|
||||
DEBUG_SHADOW_PAGES = 11u,
|
||||
/**
|
||||
* Outputs random color per tilemap (or tilemap level). Validates tilemaps coverage.
|
||||
* Black means not covered by any tilemaps LOD of the shadow.
|
||||
* Outputs random color per tile-map (or tile-map level). Validates tile-maps coverage.
|
||||
* Black means not covered by any tile-maps LOD of the shadow.
|
||||
*/
|
||||
DEBUG_SHADOW_LOD = 12u,
|
||||
/**
|
||||
|
@ -67,7 +67,7 @@ enum eDebugMode : uint32_t {
|
|||
*/
|
||||
DEBUG_SHADOW_PAGE_ALLOCATION = 13u,
|
||||
/**
|
||||
* Outputs the tilemap atlas. Default tilemap is too big for the usual screen resolution.
|
||||
* Outputs the tile-map atlas. Default tile-map is too big for the usual screen resolution.
|
||||
* Try lowering SHADOW_TILEMAP_PER_ROW and SHADOW_MAX_TILEMAP before using this option.
|
||||
*/
|
||||
DEBUG_SHADOW_TILE_ALLOCATION = 14u,
|
||||
|
|
|
@ -42,9 +42,10 @@ void ED_sculpt_end_transform(struct bContext *C, struct Object *ob);
|
|||
/** Export for ED_undo_sys. */
|
||||
void ED_sculpt_undosys_type(struct UndoType *ut);
|
||||
|
||||
/* Pushes an undo step using the operator name. This is necassary for
|
||||
/**
|
||||
* Pushes an undo step using the operator name. This is necessary for
|
||||
* redo panels to work; operators that do not support that may use
|
||||
* ED_sculpt_undo_geometry_begin_ex instead if so desired.
|
||||
* #ED_sculpt_undo_geometry_begin_ex instead if so desired.
|
||||
*/
|
||||
void ED_sculpt_undo_geometry_begin(struct Object *ob, const struct wmOperator *op);
|
||||
void ED_sculpt_undo_geometry_begin_ex(struct Object *ob, const char *name);
|
||||
|
|
|
@ -1493,14 +1493,15 @@ SculptUndoNode *SCULPT_undo_push_node(Object *ob, PBVHNode *node, SculptUndoType
|
|||
SculptUndoNode *SCULPT_undo_get_node(PBVHNode *node, SculptUndoType type);
|
||||
SculptUndoNode *SCULPT_undo_get_first_node(void);
|
||||
|
||||
/* Pushes an undo step using the operator name. This is necassary for
|
||||
/**
|
||||
* Pushes an undo step using the operator name. This is necessary for
|
||||
* redo panels to work; operators that do not support that may use
|
||||
* SCULPT_undo_push_begin_ex instead if so desired.
|
||||
* #SCULPT_undo_push_begin_ex instead if so desired.
|
||||
*/
|
||||
void SCULPT_undo_push_begin(struct Object *ob, const struct wmOperator *op);
|
||||
|
||||
/**
|
||||
* NOTE: SCULPT_undo_push_begin is preferred since `name`
|
||||
* NOTE: #SCULPT_undo_push_begin is preferred since `name`
|
||||
* must match operator name for redo panels to work.
|
||||
*/
|
||||
void SCULPT_undo_push_begin_ex(struct Object *ob, const char *name);
|
||||
|
|
Loading…
Reference in New Issue