forked from bartvdbraak/blender
Cleanup: spelling
This commit is contained in:
parent
15afaa3db2
commit
4786719dbd
@ -70,7 +70,7 @@ inline bool TopologyRefinerFactory<TopologyRefinerData>::resizeComponentTopology
|
||||
// not see any edges, which will indicate to it that winding and edges are to
|
||||
// be reconstructed).
|
||||
//
|
||||
// NOTE: it is a possible usecase when user code does not need crease at all
|
||||
// NOTE: it is a possible use case when user code does not need crease at all
|
||||
// (which is the only real reason why converter would want to provide edges in
|
||||
// the case of partial topology specification). So it might be so getNumEdges
|
||||
// callback is nullptr.
|
||||
|
@ -290,7 +290,7 @@ bool BKE_lib_override_library_create_from_tag(Main *bmain)
|
||||
reference_id = todo_id_iter->data;
|
||||
if (reference_id->newid == NULL) {
|
||||
/* If newid is already set, assume it has been handled by calling code.
|
||||
* Only current usecase: re-using proxy ID when converting to liboverride. */
|
||||
* Only current use case: re-using proxy ID when converting to liboverride. */
|
||||
if ((reference_id->newid = lib_override_library_create_from(bmain, reference_id)) == NULL) {
|
||||
success = false;
|
||||
break;
|
||||
@ -426,9 +426,9 @@ void BKE_lib_override_library_dependencies_tag(Main *bmain,
|
||||
BKE_main_relations_create(bmain, 0);
|
||||
}
|
||||
|
||||
/* We tag all intermediary data-blocks in-between two overridden ones (e.g. if a shapekey
|
||||
* has a driver using an armature object's bone, we need to override the shapekey/obdata, the
|
||||
* objects using them, etc.) */
|
||||
/* We tag all intermediary data-blocks in-between two overridden ones (e.g. if a shape-key
|
||||
* has a driver using an armature object's bone, we need to override the shape-key/obdata,
|
||||
* the objects using them, etc.) */
|
||||
lib_override_hierarchy_recursive_tag(bmain, id_root, tag, NULL);
|
||||
|
||||
BKE_main_relations_free(bmain);
|
||||
@ -681,7 +681,7 @@ bool BKE_lib_override_library_proxy_convert(Main *bmain,
|
||||
ViewLayer *view_layer,
|
||||
Object *ob_proxy)
|
||||
{
|
||||
/* proxy_group, if defined, is the empty instanciating the collection from which the proxy is
|
||||
/* proxy_group, if defined, is the empty instantiating the collection from which the proxy is
|
||||
* coming. */
|
||||
Object *ob_proxy_group = ob_proxy->proxy_group;
|
||||
const bool is_override_instancing_object = ob_proxy_group != NULL;
|
||||
@ -1761,9 +1761,9 @@ void BKE_lib_override_library_main_update(Main *bmain)
|
||||
{
|
||||
ID *id;
|
||||
|
||||
/* This temporary swap of G_MAIN is rather ugly, but neessary to avoid asserts checks in some RNA
|
||||
* assignement functions, since those always use on G_MAIN when they need acces to a Main
|
||||
* database. */
|
||||
/* This temporary swap of G_MAIN is rather ugly,
|
||||
* but necessary to avoid asserts checks in some RNA assignment functions,
|
||||
* since those always use on G_MAIN when they need access to a Main database. */
|
||||
Main *orig_gmain = G_MAIN;
|
||||
G_MAIN = bmain;
|
||||
|
||||
|
@ -73,11 +73,11 @@ typedef struct IDRemap {
|
||||
|
||||
/* 'Output' data. */
|
||||
short status;
|
||||
/** Number of direct usecases that could not be remapped (e.g.: obdata when in edit mode). */
|
||||
/** Number of direct use cases that could not be remapped (e.g.: obdata when in edit mode). */
|
||||
int skipped_direct;
|
||||
/** Number of indirect usecases that could not be remapped. */
|
||||
/** Number of indirect use cases that could not be remapped. */
|
||||
int skipped_indirect;
|
||||
/** Number of skipped usecases that refcount the datablock. */
|
||||
/** Number of skipped use cases that refcount the data-block. */
|
||||
int skipped_refcounted;
|
||||
} IDRemap;
|
||||
|
||||
|
@ -1903,7 +1903,7 @@ static void panels_layout_begin_clear_flags(ListBase *lb)
|
||||
void UI_panels_begin(const bContext *UNUSED(C), ARegion *region)
|
||||
{
|
||||
/* Set all panels as inactive, so that at the end we know which ones were used. Also
|
||||
* clear other flags so we know later that their values were set for th current redraw. */
|
||||
* clear other flags so we know later that their values were set for the current redraw. */
|
||||
panels_layout_begin_clear_flags(®ion->panels);
|
||||
}
|
||||
|
||||
|
@ -539,10 +539,13 @@ static bool pose_face_sets_floodfill_cb(
|
||||
|
||||
/* Public functions. */
|
||||
|
||||
/* Calculate the pose origin and (Optionaly the pose factor) that is used when using the pose brush
|
||||
/**
|
||||
* Calculate the pose origin and (Optionally the pose factor)
|
||||
* that is used when using the pose brush.
|
||||
*
|
||||
* r_pose_origin must be a valid pointer. the r_pose_factor is optional. When set to NULL it won't
|
||||
* be calculated. */
|
||||
* \param r_pose_origin: Must be a valid pointer.
|
||||
* \param r_pose_factor: Optional, when set to NULL it won't be calculated.
|
||||
*/
|
||||
void SCULPT_pose_calc_pose_data(Sculpt *sd,
|
||||
Object *ob,
|
||||
SculptSession *ss,
|
||||
|
Loading…
Reference in New Issue
Block a user