Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Eagar <joeedh@gmail.com>2022-03-30 01:12:02 +0300
committerJoseph Eagar <joeedh@gmail.com>2022-03-30 01:12:02 +0300
commit572c52d2a304cd333e25fcc76afd559f119980f9 (patch)
treee82860d9529933193f318c657f56364b99242121 /source/blender/makesrna/intern
parent176b331c43c5378b0a346b7c96b0934c9c5bf19f (diff)
temp-sculpt-colors: comment formatting
Diffstat (limited to 'source/blender/makesrna/intern')
-rw-r--r--source/blender/makesrna/intern/rna_attribute.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/makesrna/intern/rna_attribute.c b/source/blender/makesrna/intern/rna_attribute.c
index 7c7e15a5f0a..88529fd244a 100644
--- a/source/blender/makesrna/intern/rna_attribute.c
+++ b/source/blender/makesrna/intern/rna_attribute.c
@@ -266,7 +266,7 @@ static void rna_Attribute_update_data(Main *UNUSED(bmain), Scene *UNUSED(scene),
{
ID *id = ptr->owner_id;
- /* cheating way for importers to avoid slow updates */
+ /* Cheating way for importers to avoid slow updates. */
if (id->us > 0) {
DEG_id_tag_update(id, 0);
WM_main_add_notifier(NC_GEOM | ND_DATA, id);
@@ -383,7 +383,7 @@ void rna_AttributeGroup_iterator_next(CollectionPropertyIterator *iter)
PointerRNA rna_AttributeGroup_iterator_get(CollectionPropertyIterator *iter)
{
- /* refine to the proper type */
+ /* Refine to the proper type. */
CustomDataLayer *layer = rna_iterator_array_get(iter);
StructRNA *type = srna_by_custom_data_layer_type(layer->type);
if (type == NULL) {
@@ -410,7 +410,7 @@ void rna_AttributeGroup_color_iterator_next(CollectionPropertyIterator *iter)
PointerRNA rna_AttributeGroup_color_iterator_get(CollectionPropertyIterator *iter)
{
- /* refine to the proper type */
+ /* Refine to the proper type. */
CustomDataLayer *layer = rna_iterator_array_get(iter);
StructRNA *type = srna_by_custom_data_layer_type(layer->type);
if (type == NULL) {
@@ -531,7 +531,7 @@ static void rna_AttributeGroup_update_active_color(Main *bmain, Scene *scene, Po
{
ID *id = ptr->owner_id;
- /* cheating way for importers to avoid slow updates */
+ /* Cheating way for importers to avoid slow updates. */
if (id->us > 0) {
DEG_id_tag_update(id, 0);
WM_main_add_notifier(NC_GEOM | ND_DATA, id);
@@ -552,7 +552,7 @@ static bool rna_Attribute_active_render_get(PointerRNA *ptr)
}
if (GS(id->name) != ID_ME) {
- /* only meshes for now */
+ /* Only meshes for now. */
return false;
}
@@ -602,7 +602,7 @@ static void rna_Attribute_active_render_set(PointerRNA *ptr, bool value)
}
if (GS(id->name) != ID_ME) {
- /* only meshes for now */
+ /* Only meshes for now. */
return;
}