Cleanup: consistent use of tags: NOTE/TODO/FIXME/XXX
Also use doxy style function reference `#` prefix chars when referencing identifiers.
This commit is contained in:
@@ -640,7 +640,7 @@ void BKE_image_merge(Main *bmain, Image *dest, Image *source)
|
||||
}
|
||||
}
|
||||
|
||||
/* note, we could be clever and scale all imbuf's but since some are mipmaps its not so simple */
|
||||
/* NOTE: We could be clever and scale all imbuf's but since some are mipmaps its not so simple. */
|
||||
bool BKE_image_scale(Image *image, int width, int height)
|
||||
{
|
||||
ImBuf *ibuf;
|
||||
@@ -2323,7 +2323,7 @@ void BKE_image_stamp_buf(Scene *scene,
|
||||
stampdata_from_template(&stamp_data, scene, stamp_data_template, do_prefix);
|
||||
}
|
||||
|
||||
/* TODO, do_versions */
|
||||
/* TODO: do_versions. */
|
||||
if (scene->r.stamp_font_id < 8) {
|
||||
scene->r.stamp_font_id = 12;
|
||||
}
|
||||
@@ -2867,7 +2867,7 @@ bool BKE_imbuf_alpha_test(ImBuf *ibuf)
|
||||
return false;
|
||||
}
|
||||
|
||||
/* note: imf->planes is ignored here, its assumed the image channels
|
||||
/* NOTE: imf->planes is ignored here, its assumed the image channels
|
||||
* are already set */
|
||||
void BKE_imbuf_write_prepare(ImBuf *ibuf, const ImageFormatData *imf)
|
||||
{
|
||||
@@ -4540,7 +4540,7 @@ static ImBuf *load_image_single(Image *ima,
|
||||
}
|
||||
|
||||
/* warning, 'iuser' can be NULL
|
||||
* note: Image->views was already populated (in image_update_views_format)
|
||||
* NOTE: Image->views was already populated (in image_update_views_format)
|
||||
*/
|
||||
static ImBuf *image_load_image_file(Image *ima, ImageUser *iuser, int cfra)
|
||||
{
|
||||
@@ -5391,7 +5391,7 @@ void BKE_image_user_frame_calc(Image *ima, ImageUser *iuser, int cfra)
|
||||
}
|
||||
|
||||
if (ima && ima->gpuframenr != iuser->framenr) {
|
||||
/* Note: a single texture and refresh doesn't really work when
|
||||
/* NOTE: a single texture and refresh doesn't really work when
|
||||
* multiple image users may use different frames, this is to
|
||||
* be improved with perhaps a GPU texture cache. */
|
||||
ima->gpuflag |= IMA_GPU_REFRESH;
|
||||
|
||||
Reference in New Issue
Block a user