Skip to content

Commit

Permalink
Fix wrong generation being used
Browse files Browse the repository at this point in the history
  • Loading branch information
Duttenheim committed Nov 20, 2024
1 parent abb211b commit ff9e748
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -317,14 +317,14 @@ MaterialSetup(AssetEditorItem* item)
itemData->images[i].res = res;
itemData->images[i].texture.layer = 0;
itemData->images[i].texture.mip = 0;
itemData->images[i].texture.nebulaHandle.resourceId = res.resourceId;
itemData->images[i].texture.nebulaHandle = res.resource;
memcpy(&itemData->originalImages[i], &itemData->images[i], sizeof(ImageHolder));
});

itemData->images[i].res = res;
itemData->images[i].texture.layer = 0;
itemData->images[i].texture.mip = 0;
itemData->images[i].texture.nebulaHandle.resourceId = res.resourceId;
itemData->images[i].texture.nebulaHandle = res.resource;
memcpy(&itemData->originalImages[i], &itemData->images[i], sizeof(ImageHolder));
}
}
Expand Down

0 comments on commit ff9e748

Please sign in to comment.