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:
Diffstat (limited to 'source/blender/editors/interface/interface.c')
-rw-r--r--source/blender/editors/interface/interface.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c
index 4f70d68f495..10cbc2dc5fa 100644
--- a/source/blender/editors/interface/interface.c
+++ b/source/blender/editors/interface/interface.c
@@ -1422,10 +1422,10 @@ static bool ui_but_event_property_operator_string(const bContext *C,
// printf("prop shortcut: '%s' (%s)\n", RNA_property_identifier(prop), data_path);
}
- /* we have a datapath! */
+ /* We have a data-path! */
bool found = false;
if (data_path || (prop_enum_value_ok && prop_enum_value_id)) {
- /* create a property to host the "datapath" property we're sending to the operators */
+ /* Create a property to host the "data_path" property we're sending to the operators. */
IDProperty *prop_path;
const IDPropertyTemplate val = {0};
@@ -1945,7 +1945,7 @@ void ui_fontscale(short *points, float aspect)
}
}
-/* project button or block (but==NULL) to pixels in regionspace */
+/* Project button or block (but==NULL) to pixels in region-space. */
static void ui_but_to_pixelrect(rcti *rect, const ARegion *region, uiBlock *block, uiBut *but)
{
rctf rectf;
@@ -4024,7 +4024,7 @@ static uiBut *ui_def_but(uiBlock *block,
but->emboss = block->emboss;
but->pie_dir = UI_RADIAL_NONE;
- but->block = block; /* pointer back, used for frontbuffer status, and picker */
+ but->block = block; /* pointer back, used for front-buffer status, and picker. */
if ((block->flag & UI_BUT_ALIGN) && ui_but_can_align(but)) {
but->alignnr = block->alignnr;
@@ -4747,7 +4747,7 @@ static int findBitIndex(uint x)
return idx;
}
-/* autocomplete helper functions */
+/* Auto-complete helper functions. */
struct AutoComplete {
size_t maxlen;
int matches;