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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user