Cleanup: Remove unused image Image pointer from LigthPrope data.

This pointer was fully unused, no point in keeping it around.
This commit is contained in:
Bastien Montagne
2023-08-17 18:57:54 +02:00
parent 3e0c95d1fc
commit a083e1cd0f
2 changed files with 0 additions and 5 deletions

View File

@@ -40,7 +40,6 @@ static void lightprobe_foreach_id(ID *id, LibraryForeachIDData *data)
{
LightProbe *probe = (LightProbe *)id;
BKE_LIB_FOREACHID_PROCESS_IDSUPER(data, probe->image, IDWALK_CB_USER);
BKE_LIB_FOREACHID_PROCESS_IDSUPER(data, probe->visibility_grp, IDWALK_CB_NOP);
}

View File

@@ -81,10 +81,6 @@ typedef struct LightProbe {
*/
int resolution;
void *_pad2;
/** Image to use on as lighting data. */
struct Image *image;
/** Object visibility group, inclusive or exclusive. */
struct Collection *visibility_grp;
} LightProbe;