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:
authorCampbell Barton <ideasman42@gmail.com>2021-01-13 05:21:29 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-01-13 05:21:29 +0300
commit92826a921c2f17318bafa4d9dd4b7b7e1ba9c73d (patch)
tree9a5a8874fb8ad8f6f7e4d01a23b6ff088f0d18cb /source/blender/draw
parentbc584258626249a005a518661aabe080ec25f276 (diff)
Cleanup: spelling
Diffstat (limited to 'source/blender/draw')
-rw-r--r--source/blender/draw/engines/overlay/overlay_edit_uv.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/draw/engines/overlay/overlay_edit_uv.c b/source/blender/draw/engines/overlay/overlay_edit_uv.c
index edc817ac7c1..1899fb114a0 100644
--- a/source/blender/draw/engines/overlay/overlay_edit_uv.c
+++ b/source/blender/draw/engines/overlay/overlay_edit_uv.c
@@ -165,9 +165,10 @@ void OVERLAY_edit_uv_init(OVERLAY_Data *vedata)
pd->edit_uv.total_area_ratio = 0.0f;
pd->edit_uv.total_area_ratio_inv = 0.0f;
- /* During engine init phase the sima isn't locked and we are able to retrieve the needed data.
- * During cache_init the image engine locks the sima and makes it imposible to retrieve the data.
- */
+ /* During engine initialization phase the `sima` isn't locked and
+ * we are able to retrieve the needed data.
+ * During cache_init the image engine locks the `sima` and makes it impossible
+ * to retrieve the data. */
ED_space_image_get_uv_aspect(sima, &pd->edit_uv.uv_aspect[0], &pd->edit_uv.uv_aspect[1]);
ED_space_image_get_size(sima, &pd->edit_uv.image_size[0], &pd->edit_uv.image_size[1]);
ED_space_image_get_aspect(sima, &pd->edit_uv.image_aspect[0], &pd->edit_uv.image_aspect[1]);