You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Small fixes to redundand code, copy paste bugs
This commit is contained in:
@@ -534,7 +534,7 @@ void BitMap::grow_mask(int p_pixels, const Rect2 &p_rect) {
|
||||
return;
|
||||
}
|
||||
|
||||
bool bit_value = (p_pixels > 0) ? true : false;
|
||||
bool bit_value = p_pixels > 0;
|
||||
p_pixels = Math::abs(p_pixels);
|
||||
|
||||
Rect2i r = Rect2i(0, 0, width, height).clip(p_rect);
|
||||
|
||||
Reference in New Issue
Block a user