Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct default values in Image:replacePixels #131

Merged
merged 1 commit into from
May 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion modules/graphics/types/Image.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ return {
type = 'number',
name = 'slice',
description = 'Which cubemap face, array index, or volume layer to replace, if applicable.',
default = '1',
},
{
type = 'number',
Expand All @@ -83,10 +84,11 @@ return {
type = 'boolean',
name = 'reloadmipmaps',
description = 'Whether to generate new mipmaps after replacing the Image\'s pixels. True by default if the Image was created with automatically generated mipmaps, false by default otherwise.',
default = 'false',
},
},
},
},
},
},
}
}
Loading