Merge branch 'blender-v3.3-release'
This commit is contained in:
commit
e52fd904e8
|
@ -39,10 +39,10 @@ enum BVHType {
|
|||
BVH_NUM_TYPES,
|
||||
};
|
||||
|
||||
/* Names bitflag type to denote which BVH layouts are supported by
|
||||
/* Names bit-flag type to denote which BVH layouts are supported by
|
||||
* particular area.
|
||||
*
|
||||
* Bitflags are the BVH_LAYOUT_* values.
|
||||
* Bit-flags are the BVH_LAYOUT_* values.
|
||||
*/
|
||||
typedef int BVHLayoutMask;
|
||||
|
||||
|
|
|
@ -687,7 +687,7 @@ typedef struct CustomDataTransferLayerMap {
|
|||
size_t data_size;
|
||||
/** Offset of actual data we transfer (in element contained in data_src/dst). */
|
||||
size_t data_offset;
|
||||
/** For bitflag transfer, flag(s) to affect in transferred data. */
|
||||
/** For bit-flag transfer, flag(s) to affect in transferred data. */
|
||||
uint64_t data_flag;
|
||||
|
||||
/** Opaque pointer, to be used by specific interp callback (e.g. transformspace for normals). */
|
||||
|
|
|
@ -821,7 +821,7 @@ bool BKE_image_render_write_exr(ReportList *reports,
|
|||
const bool pass_RGBA = (STR_ELEM(rp->chan_id, "RGB", "RGBA", "R", "G", "B", "A"));
|
||||
const bool pass_half_float = half_float && pass_RGBA;
|
||||
|
||||
/* Colorspace conversion only happens on RGBA passes. */
|
||||
/* Color-space conversion only happens on RGBA passes. */
|
||||
float *output_rect =
|
||||
(save_as_render && pass_RGBA) ?
|
||||
image_exr_from_scene_linear_to_output(
|
||||
|
|
|
@ -23,7 +23,7 @@ void ChannelMatteNode::convert_to_operations(NodeConverter &converter,
|
|||
NodeOutput *output_socket_matte = this->get_output_socket(1);
|
||||
|
||||
NodeOperation *convert = nullptr, *inv_convert = nullptr;
|
||||
/* colorspace */
|
||||
/* color-space */
|
||||
switch (node->custom1) {
|
||||
case CMP_NODE_CHANNEL_MATTE_CS_RGB:
|
||||
break;
|
||||
|
|
|
@ -811,8 +811,8 @@ static void clip_main_region_draw(const bContext *C, ARegion *region)
|
|||
int width, height;
|
||||
bool show_cursor = false;
|
||||
|
||||
/* if tracking is in progress, we should synchronize framenr from clipuser
|
||||
* so latest tracked frame would be shown */
|
||||
/* If tracking is in progress, we should synchronize the frame from the clip-user
|
||||
* (#MovieClipUser.framenr) so latest tracked frame would be shown. */
|
||||
if (clip && clip->tracking_context) {
|
||||
BKE_autotrack_context_sync_user(clip->tracking_context, &sc->user);
|
||||
}
|
||||
|
|
|
@ -922,7 +922,7 @@ void uiTemplateImage(uiLayout *layout,
|
|||
}
|
||||
}
|
||||
|
||||
/* Colorspace and alpha */
|
||||
/* Color-space and alpha. */
|
||||
{
|
||||
uiItemS(layout);
|
||||
|
||||
|
|
|
@ -5227,7 +5227,7 @@ static void lineart_gpencil_generate(LineartCache *cache,
|
|||
}
|
||||
if (shaodow_selection) {
|
||||
if (ec->shadow_mask_bits != LRT_SHADOW_MASK_UNDEFINED) {
|
||||
/* TODO(Yiming): Give a behavior option for how to display undefined shadow info. */
|
||||
/* TODO(@Yiming): Give a behavior option for how to display undefined shadow info. */
|
||||
if ((shaodow_selection == LRT_SHADOW_FILTER_ILLUMINATED &&
|
||||
(!(ec->shadow_mask_bits & LRT_SHADOW_MASK_ILLUMINATED)))) {
|
||||
continue;
|
||||
|
|
|
@ -21,7 +21,7 @@ namespace blender::gpu {
|
|||
/** \name Vertex Array Bindings
|
||||
* \{ */
|
||||
|
||||
/* Returns enabled vertex pointers as a bitflag (one bit per attrib). */
|
||||
/** Returns enabled vertex pointers as a bit-flag (one bit per attribute). */
|
||||
static uint16_t vbo_bind(const ShaderInterface *interface,
|
||||
const GPUVertFormat *format,
|
||||
uint v_first,
|
||||
|
|
|
@ -628,7 +628,7 @@ enum {
|
|||
/* Bitflags affecting behavior of any kind of sorting. */
|
||||
/** Special flag to indicate that order is locked (not user-changeable). */
|
||||
UILST_FLT_SORT_LOCK = 1u << 30,
|
||||
/** Special value, bitflag used to reverse order! */
|
||||
/** Special value, bit-flag used to reverse order! */
|
||||
UILST_FLT_SORT_REVERSE = 1u << 31,
|
||||
};
|
||||
|
||||
|
|
|
@ -1162,7 +1162,7 @@ typedef enum eUserpref_StatusBar_Flag {
|
|||
* #UserDef.autokey_mode
|
||||
*/
|
||||
typedef enum eAutokey_Mode {
|
||||
/* AUTOKEY_ON is a bitflag */
|
||||
/* AUTOKEY_ON is a bit-flag. */
|
||||
AUTOKEY_ON = 1,
|
||||
|
||||
/**
|
||||
|
|
|
@ -29,7 +29,7 @@ typedef struct View2D {
|
|||
/** Allowable zoom factor range (only when (keepzoom & V2D_LIMITZOOM)) is set. */
|
||||
float minzoom, maxzoom;
|
||||
|
||||
/** Scroll - scrollbars to display (bitflag). */
|
||||
/** Scroll - scrollbars to display (bit-flag). */
|
||||
short scroll;
|
||||
/** Scroll_ui - temp settings used for UI drawing of scrollers. */
|
||||
short scroll_ui;
|
||||
|
|
|
@ -1271,7 +1271,7 @@ static void rna_def_colormanage(BlenderRNA *brna)
|
|||
RNA_def_property_ui_text(prop, "Use Curves", "Use RGB curved for pre-display transformation");
|
||||
RNA_def_property_update(prop, NC_WINDOW, "rna_ColorManagement_update");
|
||||
|
||||
/* ** Colorspace ** */
|
||||
/* ** Color-space ** */
|
||||
srna = RNA_def_struct(brna, "ColorManagedInputColorspaceSettings", NULL);
|
||||
RNA_def_struct_path_func(srna, "rna_ColorManagedInputColorspaceSettings_path");
|
||||
RNA_def_struct_ui_text(
|
||||
|
|
|
@ -180,7 +180,7 @@ typedef enum eWM_GizmoFlagMapTypeUpdateFlag {
|
|||
|
||||
/**
|
||||
* \brief Gizmo tweak flag.
|
||||
* Bitflag passed to gizmo while tweaking.
|
||||
* Bit-flag passed to gizmo while tweaking.
|
||||
*
|
||||
* \note Gizmos are responsible for handling this #wmGizmo.modal callback.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue