mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-03-24 02:08:51 +00:00
remove unused methods
This commit is contained in:
parent
6c634edd4c
commit
1b56fa2032
@ -1705,18 +1705,6 @@ struct SDGenerationParams {
|
||||
}
|
||||
}
|
||||
|
||||
void set_width_if_unset(int w) {
|
||||
if (width <= 0) {
|
||||
width = w;
|
||||
}
|
||||
}
|
||||
|
||||
void set_height_if_unset(int h) {
|
||||
if (height <= 0) {
|
||||
height = h;
|
||||
}
|
||||
}
|
||||
|
||||
bool width_and_height_are_set() const {
|
||||
return width > 0 && height > 0;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user