Cleanup: spelling
This commit is contained in:
@@ -2244,8 +2244,8 @@ void OBJECT_OT_make_local(wmOperatorType *ot)
|
||||
|
||||
static bool make_override_library_ovject_overridable_check(Main *bmain, Object *object)
|
||||
{
|
||||
/* An object is actually overridable only if it is in at least one local collections...
|
||||
* Unfortunatly 'direct link' flag is not enough here. */
|
||||
/* An object is actually overrideable only if it is in at least one local collections.
|
||||
* Unfortunately 'direct link' flag is not enough here. */
|
||||
LISTBASE_FOREACH (Collection *, collection, &bmain->collections) {
|
||||
if (!ID_IS_LINKED(collection) && BKE_collection_has_object(collection, object)) {
|
||||
return true;
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* \ingroup fn
|
||||
*
|
||||
* The signature of a multi-function contains the functions name and expected parameters. New
|
||||
* signatures should be build using the MFSignatureBuilder class.
|
||||
* signatures should be build using the #MFSignatureBuilder class.
|
||||
*/
|
||||
|
||||
#include "FN_multi_function_param_type.hh"
|
||||
@@ -60,7 +60,7 @@ class MFSignatureBuilder {
|
||||
BLI_assert(data.param_data_indices.is_empty());
|
||||
}
|
||||
|
||||
/* Input Param Types */
|
||||
/* Input Parameter Types */
|
||||
|
||||
template<typename T> void single_input(StringRef name)
|
||||
{
|
||||
@@ -93,7 +93,7 @@ class MFSignatureBuilder {
|
||||
}
|
||||
}
|
||||
|
||||
/* Output Param Types */
|
||||
/* Output Parameter Types */
|
||||
|
||||
template<typename T> void single_output(StringRef name)
|
||||
{
|
||||
@@ -126,7 +126,7 @@ class MFSignatureBuilder {
|
||||
}
|
||||
}
|
||||
|
||||
/* Mutable Param Types */
|
||||
/* Mutable Parameter Types */
|
||||
|
||||
template<typename T> void single_mutable(StringRef name)
|
||||
{
|
||||
@@ -162,7 +162,7 @@ class MFSignatureBuilder {
|
||||
/* Context */
|
||||
|
||||
/** This indicates that the function accesses the context. This disables optimizations that
|
||||
* depend on the fact that the function always performes the same operation. */
|
||||
* depend on the fact that the function always performers the same operation. */
|
||||
void depends_on_context()
|
||||
{
|
||||
data_.depends_on_context = true;
|
||||
|
||||
@@ -61,7 +61,7 @@ bool RNA_property_overridable_get(PointerRNA *ptr, PropertyRNA *prop)
|
||||
/* Special handling for insertions of constraints or modifiers... */
|
||||
/* TODO Note We may want to add a more generic system to RNA
|
||||
* (like a special property in struct of items)
|
||||
* if we get more override-able collections,
|
||||
* if we get more overrideable collections,
|
||||
* for now we can live with those special-cases handling I think. */
|
||||
if (RNA_struct_is_a(ptr->type, &RNA_Constraint)) {
|
||||
bConstraint *con = ptr->data;
|
||||
|
||||
Reference in New Issue
Block a user