Spelling corrections
This commit is contained in:
@@ -834,7 +834,7 @@ void draw_image_main(const bContext *C, ARegion *ar)
|
||||
show_render = (show_viewer && ima->type == IMA_TYPE_R_RESULT);
|
||||
|
||||
if (show_viewer) {
|
||||
/* use locked draw for drawing viewer image buffer since the conpositor
|
||||
/* use locked draw for drawing viewer image buffer since the compositor
|
||||
* is running in separated thread and compositor could free this buffers.
|
||||
* other images are not modifying in such a way so they does not require
|
||||
* lock (sergey)
|
||||
|
||||
@@ -700,7 +700,7 @@ static void image_main_area_draw(const bContext *C, ARegion *ar)
|
||||
show_viewer = (image && image->source == IMA_SRC_VIEWER);
|
||||
|
||||
if (show_viewer) {
|
||||
/* ED_space_image_get will acquire image buffer which requires
|
||||
/* ED_space_image_get* will acquire image buffer which requires
|
||||
* lock here by the same reason why lock is needed in draw_image_main
|
||||
*/
|
||||
BLI_lock_thread(LOCK_DRAW_IMAGE);
|
||||
|
||||
Reference in New Issue
Block a user