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:
authorHans Goudey <h.goudey@me.com>2021-09-02 06:22:35 +0300
committerHans Goudey <h.goudey@me.com>2021-09-02 06:22:35 +0300
commit4170668776fc447c2204298ccb6928eeed0e4f55 (patch)
tree1b2c80499c8ac3ff45f73442fff2ebb545b0a3b1 /source/blender/python/generic/idprop_py_ui_api.c
parentf77de678d89fe9e279cbb4228959955f42b007d3 (diff)
Cleanup: Grammar
Diffstat (limited to 'source/blender/python/generic/idprop_py_ui_api.c')
-rw-r--r--source/blender/python/generic/idprop_py_ui_api.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/python/generic/idprop_py_ui_api.c b/source/blender/python/generic/idprop_py_ui_api.c
index c194c77aa7f..42856d88472 100644
--- a/source/blender/python/generic/idprop_py_ui_api.c
+++ b/source/blender/python/generic/idprop_py_ui_api.c
@@ -183,7 +183,7 @@ static bool idprop_ui_data_update_int(IDProperty *idprop, PyObject *args, PyObje
}
}
- /* Write back to the properties UI data. */
+ /* Write back to the property's UI data. */
IDP_ui_data_free_unique_contents(&ui_data_orig->base, IDP_ui_data_type(idprop), &ui_data.base);
*ui_data_orig = ui_data;
return true;
@@ -310,7 +310,7 @@ static bool idprop_ui_data_update_float(IDProperty *idprop, PyObject *args, PyOb
}
}
- /* Write back to the properties UI data. */
+ /* Write back to the property's UI data. */
IDP_ui_data_free_unique_contents(&ui_data_orig->base, IDP_ui_data_type(idprop), &ui_data.base);
*ui_data_orig = ui_data;
return true;
@@ -348,7 +348,7 @@ static bool idprop_ui_data_update_string(IDProperty *idprop, PyObject *args, PyO
ui_data.default_value = BLI_strdup(default_value);
}
- /* Write back to the properties UI data. */
+ /* Write back to the property's UI data. */
IDP_ui_data_free_unique_contents(&ui_data_orig->base, IDP_ui_data_type(idprop), &ui_data.base);
*ui_data_orig = ui_data;
return true;
@@ -376,7 +376,7 @@ static bool idprop_ui_data_update_id(IDProperty *idprop, PyObject *args, PyObjec
return false;
}
- /* Write back to the properties UI data. */
+ /* Write back to the property's UI data. */
IDP_ui_data_free_unique_contents(&ui_data_orig->base, IDP_ui_data_type(idprop), &ui_data.base);
*ui_data_orig = ui_data;
return true;