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-02-05 08:23:34 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-02-05 08:23:34 +0300
commit17e1e2bfd8dfbd6f6fc42cc305e93393342020f7 (patch)
tree8a164422f7eb7d3aa9f7473c19c80da535c29a05 /source/blender/compositor/operations/COM_VectorBlurOperation.cpp
parentb62b923f544fa1df0aecd56f3568dd5185601306 (diff)
Cleanup: correct spelling in comments
Diffstat (limited to 'source/blender/compositor/operations/COM_VectorBlurOperation.cpp')
-rw-r--r--source/blender/compositor/operations/COM_VectorBlurOperation.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/compositor/operations/COM_VectorBlurOperation.cpp b/source/blender/compositor/operations/COM_VectorBlurOperation.cpp
index f7b908deaf4..d6894dfc8ad 100644
--- a/source/blender/compositor/operations/COM_VectorBlurOperation.cpp
+++ b/source/blender/compositor/operations/COM_VectorBlurOperation.cpp
@@ -589,7 +589,7 @@ void zbuf_accumulate_vecblur(NodeBlurData *nbd,
printf("Found uninitialized speed in vector buffer... fixed.\n");
}
- /* min speed? then copy speedbuffer to recalculate speed vectors */
+ /* Min speed? then copy speed-buffer to recalculate speed vectors. */
if (nbd->minspeed) {
float minspeed = (float)nbd->minspeed;
float minspeedsq = minspeed * minspeed;
@@ -619,7 +619,7 @@ void zbuf_accumulate_vecblur(NodeBlurData *nbd,
SWAP(float *, minvecbufrect, vecbufrect);
}
- /* make vertex buffer with averaged speed and zvalues */
+ /* Make vertex buffer with averaged speed and Z-values. */
rectvz = (float *)MEM_callocN(sizeof(float[4]) * (xsize + 1) * (ysize + 1), "vertices");
dvz = rectvz;
for (y = 0; y <= ysize; y++) {
@@ -728,7 +728,8 @@ void zbuf_accumulate_vecblur(NodeBlurData *nbd,
antialias_tagbuf(xsize, ysize, rectmove);
- /* has to become static, the init-jit calls a random-seed, screwing up texture noise node */
+ /* Has to become static, the jitter initialization calls a random-seed,
+ * screwing up texture noise node. */
if (firsttime) {
firsttime = 0;
BLI_jitter_init(jit, 256);