Cleanup: unused function, spelling
This commit is contained in:
@@ -119,20 +119,6 @@ static bScreen *screen_parent_find(const bScreen *screen)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static int cmp_image_tile(const void *a, const void *b)
|
||||
{
|
||||
const ImageTile *tile_a = a;
|
||||
const ImageTile *tile_b = b;
|
||||
|
||||
if (tile_a->tile_number < tile_b->tile_number) {
|
||||
return -1;
|
||||
}
|
||||
if (tile_a->tile_number > tile_b->tile_number) {
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void do_version_workspaces_create_from_screens(Main *bmain)
|
||||
{
|
||||
for (bScreen *screen = bmain->screens.first; screen; screen = screen->id.next) {
|
||||
|
||||
@@ -1280,8 +1280,8 @@ static void draw_viewport_name(ARegion *ar, View3D *v3d, int xoffset, int *yoffs
|
||||
}
|
||||
|
||||
/**
|
||||
* draw info beside axes in bottom left-corner:
|
||||
* framenum, collection, object name, bone name (if available), marker name (if available)
|
||||
* Draw info beside axes in bottom left-corner:
|
||||
* frame-number, collection, object name, bone name (if available), marker name (if available).
|
||||
*/
|
||||
|
||||
static void draw_selected_name(
|
||||
|
||||
@@ -482,7 +482,7 @@ GPUTexture *GPU_texture_from_blender(Image *ima, ImageUser *iuser, int textarget
|
||||
/* TODO(lukas): When a tile gets deleted, the materials using the image
|
||||
* aren't rebuilt and therefore continue to use it.
|
||||
* This workaround isn't ideal, the result should be a pink color
|
||||
* (for a missing tile). With the current behaviour, new tiles also won't
|
||||
* (for a missing tile). With the current behavior, new tiles also won't
|
||||
* be detected. */
|
||||
tile = BKE_image_get_tile(ima, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user